-
I'm currently using the `sql` template tag to create functions:
```ts
await sql`
CREATE OR REPLACE FUNCTION sb.test_fn() RETURNS TRIGGER AS $$
DECLARE
modelName TEXT;
BEGIN
…
-
Stupid question - how do I push a migration to planetscale? Have followed the Kyesly docs MigrateToLatest() though unable to get this working with the planetscale dialect.
-
@skyzh's report:
The serverless driver will timeout instead of reporting any error if the user did not configure the database URL. It seems that the driver will try connecting to localhost:5432 i…
-
The two don't differ much in API:
```ts
await db
.insertInto('pet')
.values({
name: 'Catto',
species: 'cat',
})
.onConflict((oc) => oc
.column('name')
.doUpdateSet({ species: '…
-
It would be nice to have something to prevent `returning()`/`returningAll()` from showing when using MySQL for example. I wrote all my code when moving from prisma to kysely and it wasn't until I actu…
-
**First and foremost: thank you very much for taking the time to develop this tool 🙏
Paired up with `kysely`, it makes an amazing setup for dealing with DBs in Node.**
I have a prisma definition …
-
Hello, its me again :)
For some reason Typescript couldn't call **create** because for some reason that doesn't exist(?).
Minimal reproduction project here: https://github.com/sonicjhon1/kysely-surr…
-
It is not working with Next.js 13 API and Neon, I have documented it here:
https://github.com/panaverse/learn-nextjs/tree/main/step12_serverless_databases/relational/step01_typed_sql
-
Hello ... I'm trying to use the library with a PlanetScale database ... but any request to it just fails with a ETIMEDOUT error
This is my configuration
```typescript
import { Kysely } from 'ky…
-
I couldn't find anything in the docs to use the SQL CAST or CONVERT function: https://www.geeksforgeeks.org/sql-query-to-convert-varchar-to-int/
It would be nice to be able to cast columns values a…