Metakit / @doeixd/metakit/sql/stored

toCheck

const · packages/metakit/src/sqlStored.ts:17

const toCheck: <S extends Top>(
  schema: S,
  options?: { readonly dialect?: SqlDialect },
) => Effect<StoredSql<string>, SqlUnsupportedError | KeyFailure, EvidenceStore>

Sql.toCheck, kept under the Schema's fingerprint, so a Schema whose interface is unchanged is not compiled again.