BlinkDB Logo blinkDB

many()

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",
  },
});
ParameterDescription
tableThe table created by createTable() .
filterOptional. If given, items returned will match the filter. See filters.