DpcTabularCondition
The DpcTabularCondition
type describes the SQL WHERE clause that will be used to filter the rows that are loaded and saved to in the Store
Table
.
`${string}$tableName${string}` | "true"
This provides a way to enact pagination or selective loading of data from the database into TinyBase so that only a fraction of the full data in the database is loaded into memory.
This clause must include at least one $tableName
placeholder for the table name. For example, if you only wanted to load and save records that have an 'active' flag set, this string would be something like $tableName.active = 1
.
Since
v6.1.0