Metakit / @doeixd/metakit/sql/stored

StoredOptions

interface · packages/metakit/src/sqlStoredCompile.ts:45

interface StoredOptions {
  readonly loweringIdentities?: ReadonlyArray<
    readonly [Node.ForeignOperation, string]
  >
}

What a stored compile adds to the options of the compile it stands for.

Members

StoredOptions.loweringIdentities

property · packages/metakit/src/sqlStoredCompile.ts:51

readonly loweringIdentities?: ReadonlyArray<
  readonly [Node.ForeignOperation, string]
>

An identity for each lowering in foreign, which the key holds: a lowering is a function whose text cannot be hashed, so change its identity when you change what it writes. A lowering with none throws.