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)
    class Database
    T[]
    select
    (
    string[] fields
    T : Entity
    )
  2. T[] select(Select select)
  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