Remote / foldkit-remote-drizzle

InsertSelect

interface · packages/remote-drizzle/src/database.ts:51

interface InsertSelect {
  select(fields: Record<string, SQL>): {
    from(table: Table): {
      where(condition: SQL | undefined): unknown
    }
  }
}

The select an insert hands its callback: values by the table's keys, from a table, while a condition holds.

Members

InsertSelect.select

method · packages/remote-drizzle/src/database.ts:52

select(fields: Record<string, SQL>): {
  from(table: Table): {
    where(condition: SQL | undefined): unknown
  }
}