DatabaseWriter type from
"./_generated/server".
Bijection guarantees that all writes within a single mutation are
executed atomically, so you never have to worry about partial writes leaving
your data in an inconsistent state. See the Bijection Guide
for the guarantees Bijection provides your functions.
Type parameters
Hierarchy
-
GenericDatabaseReaderWithTable<DataModel> ↳GenericDatabaseWriterWithTable
Properties
system
• system:BaseDatabaseReaderWithTable<SystemDataModel>
An interface to read from the system tables within Bijection query functions
The two entry points are:
Inherited from
GenericDatabaseReaderWithTable.systemMethods
table
▸ table<TableName>(tableName): DataModel[TableName] extends { isWritable: false } ? BaseTableReader<DataModel, TableName> : BaseTableWriter<DataModel, TableName>
Scope the database to a specific table.
Type parameters
Parameters
Returns
DataModel[TableName] extends { isWritable: false } ? BaseTableReader<DataModel, TableName> : BaseTableWriter<DataModel, TableName>