Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions dbObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,30 @@
* @method dbObject ArrayBuilder()
* @method dbObject JsonBuilder()
* @method dbObject ObjectBuilder()
* @method mixed byId (string $id, mixed $fields)
* @method mixed get (mixed $limit, mixed $fields)
* @method mixed getOne (mixed $fields)
* @method mixed paginate (int $page, array $fields)
* @method dbObject query ($query, $numRows)
* @method dbObject rawQuery ($query, $bindParams, $sanitize)
* @method dbObject join (string $objectName, string $key, string $joinType, string $primaryKey)
* @method dbObject with (string $objectName)
* @method dbObject groupBy (string $groupByField)
* @method dbObject orderBy ($orderByField, $orderbyDirection, $customFields)
* @method dbObject where ($whereProp, $whereValue, $operator)
* @method dbObject orWhere ($whereProp, $whereValue, $operator)
* @method dbObject setQueryOption ($options)
* @method dbObject setTrace ($enabled, $stripPrefix)
* @method dbObject withTotalCount ()
* @method dbObject startTransaction ()
* @method dbObject commit ()
* @method dbObject rollback ()
* @method dbObject ping ()
* @method string getLastError ()
* @method string getLastQuery ()
**/
* @method mixed byId(string $id, mixed $fields)
* @method mixed get(mixed $limit, mixed $fields)
* @method mixed getOne(mixed $fields)
* @method mixed paginate(int $page, array $fields)
* @method dbObject query($query, $numRows = null)
* @method dbObject rawQuery($query, $bindParams = null)
* @method dbObject join(string $objectName, string $key, string $joinType, string $primaryKey)
* @method dbObject with(string $objectName)
* @method dbObject groupBy(string $groupByField)
* @method dbObject orderBy($orderByField, $orderbyDirection = "DESC", $customFieldsOrRegExp = null)
* @method dbObject where($whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
* @method dbObject orWhere($whereProp, $whereValue = 'DBNULL', $operator = '=')
* @method dbObject having($havingProp, $havingValue = 'DBNULL', $operator = '=', $cond = 'AND')
* @method dbObject orHaving($havingProp, $havingValue = null, $operator = null)
* @method dbObject setQueryOption($options)
* @method dbObject setTrace($enabled, $stripPrefix = null)
* @method dbObject withTotalCount()
* @method dbObject startTransaction()
* @method dbObject commit()
* @method dbObject rollback()
* @method dbObject ping()
* @method string getLastError()
* @method string getLastQuery()
*/
class dbObject {
/**
* Working instance of MysqliDb created earlier
Expand Down