-
Hey 👋
I have a JSON column and [zod](https://github.com/colinhacks/zod) validated data is stored there.
Same zod schema type is used in database `JSONColumnType`.
Schema is a zod `object` type a…
-
I have SvelteKit SPA application and use following code to initialize `Kyseley`:
```typescript
import { Kysely } from 'kysely';
import { WaSqliteWorkerDialect } from 'kysely-wasqlite-worker'
imp…
-
**Is your feature request related to a problem? Please describe.**
Hi! First of all amazing plugin! Great work, we wanted to do the same and now are just using yours :)
Atm CamelCasePlugin does no…
-
Hi 👋
I'm logging queries using `log` property and when there's an error I can see two logs, first for `error` event, second for `query` event.
They have different `queryDurationMillis`. Does it…
-
This following query breaks for me.
```
function clampedValue(
n: number
): RawBuilder {
return sql`LEAST(${MAX_VALUE}, GREATEST(${MIN_VALUE}, ${n}))`;
}
```
The error provided is:
> …
-
I am exploring how I could move away from Prisma in favor of Kysely. Reason is to have more control over our queries + performance. However, we have audit logging in place and I cannot get my head aro…
-
I am using vercels postgres database and I am trying to insert a row into it. My goal is to return the id when the row has been created.
```ts
export type Episode = {
id?: number;
};
type …
-
https://github.com/kysely-org/kysely/blob/23655565f32fdab79190eaa550227c35e4da03d6/src/dialect/sqlite/sqlite-dialect-config.ts#L41-L42
It looks like Kysley handles `null` and `undefined` perfectly …
-
Hello! If I have a `real` column in Postgres like so
```
CREATE TABLE foo (
bar real
);
INSERT INTO foo (bar) VALUES
(1),
(4.56),
(7.89);
```
```typescript
await db.selec…
-
I have a migration file with a few hundred lines in it, and I am getting this error:
```
$ pnpm tsx scripts/migrate.ts
failed to execute migration "0006"
failed to migrate
error: syntax error a…