mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR SQLQuery doc cleanup
This commit is contained in:
parent
3bc1da0543
commit
7c272d3139
@ -13,28 +13,25 @@
|
|||||||
class SQLQuery {
|
class SQLQuery {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of fields to select, keyed by an optional alias.
|
* An array of SELECT fields, keyed by an optional alias.
|
||||||
*
|
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $select = array();
|
protected $select = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of join clauses. The first one is just the table name.
|
* An array of FROM clauses. The first one is just the table name.
|
||||||
*
|
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $from = array();
|
protected $from = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of filters.
|
* An array of WHERE clauses.
|
||||||
*
|
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $where = array();
|
protected $where = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of order by clauses, functions. Stores as an associative
|
* An array of ORDER BY clauses, functions. Stores as an associative
|
||||||
* array of column / function to direction.
|
* array of column / function to direction.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
@ -42,23 +39,20 @@ class SQLQuery {
|
|||||||
protected $orderby = array();
|
protected $orderby = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of fields to group by.
|
* An array of GROUP BY clauses.
|
||||||
*
|
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $groupby = array();
|
protected $groupby = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array of having clauses.
|
* An array of having clauses.
|
||||||
*
|
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $having = array();
|
protected $having = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A limit clause.
|
* An array containing limit and offset keys for LIMIT clause.
|
||||||
*
|
* @var array
|
||||||
* @var string
|
|
||||||
*/
|
*/
|
||||||
protected $limit = array();
|
protected $limit = array();
|
||||||
|
|
||||||
@ -70,14 +64,12 @@ class SQLQuery {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* If this is true, this statement will delete rather than select.
|
* If this is true, this statement will delete rather than select.
|
||||||
*
|
|
||||||
* @var boolean
|
* @var boolean
|
||||||
*/
|
*/
|
||||||
protected $delete = false;
|
protected $delete = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The logical connective used to join WHERE clauses. Defaults to AND.
|
* The logical connective used to join WHERE clauses. Defaults to AND.
|
||||||
*
|
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $connective = 'AND';
|
protected $connective = 'AND';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user