nsmcp::SQLiteDatabase method session (public)
<instance of nsmcp::SQLiteDatabase> session handle
Defined in /usr/local/ns/tcl/nsmcp/database.tcl
Adapt a caller-owned handle without taking ownership of checkout. Use within ns_db withhandle; close the adapter before leaving that scope. Validation and page-budget errors leave checkout to the caller.
- Parameters:
- handle (required)
- Checked-out SQLite handle from this database's pool.
- Returns:
- A borrowed DatabaseSession, local to the caller's operation.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)