Retrieves entities from the table. If a filter is supplied, blinkDB will only return matching items - if not given, all items are returned.
const allUsers = await many(userTable);
const allUsersNamedAlice = await many(userTable, {
where: {
name: "Alice",
},
});
Parameter | Description |
---|---|
table
|
The table created by createTable() .
|
filter
| Optional. If given, items returned will match the filter. See filters. |