Interface: GenericDatabaseReaderWithTable<DataModel>
server.GenericDatabaseReaderWithTable
Type parameters
| Name | Type |
|---|---|
DataModel | extends GenericDataModel |
Hierarchy
-
BaseDatabaseReaderWithTable<DataModel>↳
GenericDatabaseReaderWithTable
Properties
system
• system: BaseDatabaseReaderWithTable<SystemDataModel>
An interface to read from the system tables within Convex query functions
The two entry points are:
Defined in
Methods
table
▸ table<TableName>(tableName): BaseTableReader<DataModel, TableName>
Scope the database to a specific table.
Type parameters
| Name | Type |
|---|---|
TableName | extends string |
Parameters
| Name | Type |
|---|---|
tableName | TableName |
Returns
BaseTableReader<DataModel, TableName>
Inherited from
BaseDatabaseReaderWithTable.table