::nsmcp::Object ::nsmcp::Object dict getdef ::nx::Object ::nx::Object ::nsmcp::Object->::nx::Object ::nsmcp::SQLiteDatabase ::nsmcp::SQLiteDatabase connect init path ::nsmcp::SQLiteDatabase->::nsmcp::Object

Class ::nsmcp::SQLiteDatabase

::nsmcp::SQLiteDatabase[i] create ... \
           [ -maxBytes:integer (default "1073741824") ] \
           [ -path path ] \
           [ -pool:required pool:required ]

Defined in /usr/local/ns/tcl/nsmcp/database.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nsmcp::Object[i]

Methods (to be applied on instances)

  • connect (scripted, public)

     <instance of nsmcp::SQLiteDatabase[i]> connect

    Check out a session from the dedicated SQLite cache pool. Validate the persistent datasource, apply private session settings and enforce the configured page budget; release resources on failure.

    Returns:
    A DatabaseSession object owning the checked-out handle.

    Testcases:
    No testcase defined.
  • path (scripted, public)

     <instance of nsmcp::SQLiteDatabase[i]> path

    Return the persistent database path discovered during connection. Read the normalized datasource path recorded by the pool adapter.

    Returns:
    The normalized database filename.

    Testcases:
    No testcase defined.