MCPcopy Create free account
hub / github.com/Effect-TS/effect / returning

Function returning

packages/effect/src/unstable/sql/Statement.ts:256–262  ·  view source on GitHub ↗
(this: RecordInsertHelper, sql: string | Identifier | Fragment)

Source from the content-addressed store, hash-verified

254const RecordInsertHelperProto = {
255 _tag: "RecordInsertHelper" as const,
256 returning(this: RecordInsertHelper, sql: string | Identifier | Fragment) {
257 const self = Object.create(Object.getPrototypeOf(this))
258 Object.assign(self, this, {
259 returningIdentifier: sql
260 })
261 return self
262 }
263}
264
265/**

Callers

nothing calls this directly

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected