MCPcopy Create free account
hub / github.com/porsager/postgres / insert

Function insert

tests/index.js:1793–1793  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1791
1792t('Recreate prepared statements on transformAssignedExpr error', { timeout: 1 }, async() => {
1793 const insert = () => sql`insert into test (name) values (${ '1' }) returning name`
1794 await sql`create table test (name text)`
1795 await insert()
1796 await sql`alter table test alter column name type int using name::integer`

Callers 1

index.jsFile · 0.70

Calls 1

sqlFunction · 0.50

Tested by

no test coverage detected