-
MySQL - Implemented with ON DUPLICATE KEY UPDATE
PostgreSQL - Implemented with ON CONFLICT DO UPDATE
Links:
https://sequelize.org/master/manual/raw-queries.html
https://sequelize.org/master/clas…
-
# Environment
Knex version: 0.14.2
Database + version: Oracle 11gR2
OS: linux
@atiertant
knex recycle connection in a pool so to get efficient resource usage. So far so good. Now with dial…
-
## Problem
I'm frustrated when I want to do an upsert of a specific row, but I don't have fields that are in `WhereUniqueInput` - I only have fields that, according to my business logic, will fin…
-
### Environment
- `node`: 18.16.1
- `nuxt`: 3.7.4
- `drizzle-kit`: 0.19.13
- `@nuxtjs/tailwindcss`: 6.8.0
- `@planetscale/database`: 1.11.0
- `drizzle-orm`: 0.28.6
- `pnpm`: 8.9.0
### Reproduc…
-
# Environment
Knex version: 0.18.3
Database + version: sqlite3 v4.0.7
OS: macos
# Bug / Feature request
When running raw queries on sqlite driver, insert queries won't return inserted id (`…
B4nan updated
3 years ago
-
I have created an singleton connection to use the same connection_id() so the rest app can make use of TEMPORARY TABLES. After some concurrent calls, the connection is broken with this error:
```
…
-
## Problem
I'm using Prisma only to manage my database schema, not for the CRUD operations in code. The problem is that the schema.prisma file only supports defining the datasource URL using values…
-
i'd like to use postgresql extension using the command "create extension " Has anybody tried this with knex? I need this to be able to programmatically create tables. Thanks
-sr
ghost updated
5 months ago
-
This is crazy impressive! 😄
What would be really cool, is if we could actually turn this into something useful.
Imagine something like this?
```ts
const sql = createShema({
users: {
…
-
## Env
* Deno version:
```
deno 1.25.0 (release, x86_64-unknown-linux-gnu)
v8 10.6.194.5
typescript 4.7.4
```
## Phenomenon
Run the code:
```
import knex from 'npm:knex';
const DB =…