Back |
Indexclass parsetool.sqlgenerator.QueryBuilder
- function new() : Void
- function create() : String
- Returns a CREATE TABLE statement.
- function delete() : String
- Returns an DELETE FROM statement for an object.
- function escapeTableName(name : String) : String
- function get() : String
- Returns a SELECT FROM statement, for a single object, which accepts only primary keys in the WHERE clause.
Joins direct relations.
- function getGeneratorList() : Array<Generator>
- function getName() : String
- function insert() : String
- Returns an INSERT INTO statement, for a single object.
- function insertList() : String
- Returns an INSERT INTO statement, for a list of objects.
- function row() : String
- Returns a SELECT FROM statement, for a single object, which accepts only primary keys in the WHERE clause.
Does NOT join the with any relations.
- function save() : String
- Returns an UPDATE statement, for a single object, not updating primary keys.
- function search() : String
- Returns a SELECT FROM statement, for a list of objects, which accepts all columns in the WHERE clause, as 'LIKE' searches.
- function select() : String
- Returns a SELECT FROM statement, for a list of objects, which accepts all columns in the WHERE clause.
- function setTable(t : parsetool.schema.Table) : Void
- function update() : String
- Returns an UPDATE statement, for a single object, also updating primary keys.
Back |
Index