Connection.remove

Deletes rows in the specified relation, filtered by the given filter string and values

  1. int remove(U id)
  2. int remove(string filter, U vals)
    struct Connection
    int
    remove
    (
    T
    U...
    )
    (
    string filter
    ,
    )

Examples

Connection c; // An established connection
struct User { @PK @serial int id; int posts }
c.remove!User("id > $1 AND posts == $2", 50, 0);

Meta