-
Given the following interfaces:
```
interface PersonTable {
id: Generated;
first_name: string;
last_name: string;
gender: "male" | "female" | "other";
}
interface Database {
…
-
Given the following documentation:
Expand documentation
```TS
/**
* Sets the schema to be used for all table references that don't explicitly
* specify a schema.
*
* This only affects t…
-
`MysqlDialect` missing `stream` option typings.
But it works with `@ts-ignore`
Example usage:
```ts
import { Client } from 'ssh2';
import mysql2 from 'mysql2';
const client = new Client();
…
-
for example in my app I use `express-session` and `connect-pg-simple`, the latter requires passing a pg pool
ideally I would like to re-use that pool when creating a kysely instance rather than …
-
Currently Kysely requires to have some QueryExecutor defined which means that it is not stateless. However I wonder how much work it is to use kysely as a sql builder without an execution implementati…
-
Apologies, I am probably doing something horribly wrong. Inserts are failing with
```
code: 'ER_PARSE_ERROR',
errno: 1064,
sqlState: '42000',
sqlMessage: "You have an error in your SQL s…
-
I am trying to test `kysely-codegen` with SQLite but the CLI keeps throwing `Cannot find module 'pg'` for any commands that I pass it.
Click to expand!
```bash
> pnpm kysely-codegen -…
-
I'm not sure that the following migration sample code doesn't generate correct SQL about reference foreign key on MySQL.
https://github.com/koskimas/kysely#migrations
Environment
- Kysely version…
-
SQLite does support ddl transactions, but supportsTransactionalDdl in the sqlite adapter returns false. I am doing it with my own adapter and it seems to work fine. Can this be set to true in the buil…
-
Would it be possible to add support for node-sqlite3, since better-sqlite3 sadly lacks N-API support?
https://github.com/WiseLibs/better-sqlite3/issues/271