Mixin: DatabaseObject

DatabaseObject

This mixin grants an introspection capability that allows a collection or table instance to be aware of the statement execution context in the form of an X DevAPI session, via composition.

Methods


getSession()

Retrieve the session context used to execute statements in a table or a collection.
Returns:
The instance of the X DevAPI session where the statements will be executed.
Type
module:Session