Method
transaction
drizzle-orm/src/neon-http/session.ts:248–254
· drizzle-orm/src/neon-http/session.ts::NeonHttpSession.transaction
(
_transaction: (tx: NeonTransaction<TFullSchema, TSchema>) => Promise<T>,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
_config: PgTransactionConfig = {},
)
Source from the content-addressed store, hash-verified
| 246 | } |
| 247 | |
| 248 | override async transaction<T>( |
| 249 | _transaction: (tx: NeonTransaction<TFullSchema, TSchema>) => Promise<T>, |
| 250 | class="cm">// eslint-disable-next-line @typescript-eslint/no-unused-vars |
| 251 | _config: PgTransactionConfig = {}, |
| 252 | ): Promise<T> { |
| 253 | throw new Error(class="st">'No transactions support in neon-http driver'); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | export class NeonTransaction< |
Tested by
no test coverage detected