-
Using version `0.23.4`:
I am trying to use Kysely with CockroachDB, however when attempting to make a migration I am getting this error:
```
error: unknown function: pg_advisory_xact_lock(): func…
-
I am trying to implement row level security in my project to better isolate my tenant's data. I am looking for a way to add the following statement to the beginning of query:
```ts
SET app.current…
-
In the following query, the `cmpr` in the `where` throws a type error, even though the casted `select` is of type number.
```typescript
const query = this.getMessageQueryByYear(year)
…
-
When converting Decimal type of prisma, it converted into string instead of number.
Sample Schema:
```
generator kysely {
provider = "prisma-kysely"
output = "../src/kyselydb"
…
-
Hi 🤗 Kysely bros,
I love ❤️ the project, keep up the good work.
So, i was wondering, what is the current best practice for a transaction, that is made up in a single execution ?
Long story s…
-
# UPDATE
I have realized that this is probably due to the fact that `jsonArrayFrom` is returning a string of JSON that I have to then parse. I had to cast the type `string` to the result in order to …
-
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…
-
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…
-
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 …