Acquires a new connection from the pool.
Begins a transaction.
Commits a transaction.
Throws AbortedTransactionError if the database confirms that the transaction was rolled back instead of committed.
Destroys the driver and releases all resources.
Initializes the driver.
After calling this method the driver should be usable and acquireConnection etc.
methods should be callable.
Releases a connection back to the pool.
Releases a savepoint within a transaction.
Rolls back to a savepoint within a transaction.
Rolls back a transaction.
Establishses a new savepoint within a transaction.
A driver that does absolutely nothing.
You can use this to create Kysely instances solely for building queries
Examples
This example creates a Kysely instance for building postgres queries:
You can use it to build a query and compile it to SQL but trying to execute the query will throw an error.