Database.select

Selects entities from the database using the optional given clauses. The name of the fields should correspond to the name of the entity's fields in the database, not to the ones in the D program.

  1. T[] select(Select select)
  2. T[] select(Select select)
    class Database
    T[]
    select
    (
    string field
    T : Entity
    )
  3. T[] select(Select select)

Examples

database.select!(["a", "b"], Test)();
database.select!("testId", Test)();
database.select!Test(Database.Select(Database.Select.Limit(10)));

Meta