borrow static method

MssqlUntypedDatabase borrow(
  1. MssqlConnection connection
)

Wraps a borrowed MssqlConnection the caller owns.

Query-builder-only code that has no generated AppDatabase uses this. Generated databases expose their own borrow/withPool/open that return TSelf.

Implementation

static MssqlUntypedDatabase borrow(MssqlConnection connection) =>
    MssqlUntypedDatabase(connection);