Connection

constructor(pointer: Pointer)(source)


constructor(noPointer: NoPointer)(source)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.


constructor(path: String)(source)

Open a new connection to a SQLite database. If a database does not exist at the path, one is created.