SelectBuilder

WARNING: this is as susceptible to SQL injections as you would be writing it out by hand

class SelectBuilder : SqlBuilder {
string[] fields;
string table;
string[] joins;
string[] wheres;
string[] orderBys;
string[] groupBys;
int limit;
int limitStart;
Variant[string] vars;
Database db;
}

Meta