Functions to access and update database objects. More...
Functions | |
db_get_unique ($options=array()) | |
Gets a string unique to a record;. | |
db_get ($table_name, $id=null) | |
gets a single record from a model | |
db_first ($table_name, $where=array(), $order_by=array(), $limit=array()) | |
gets a single record from a model | |
db_all ($table_name, $where=array(), $order_by=array(), $limit=array()) | |
gets multiple records from a model | |
db_update_value ($value, $db_type='') | |
Prepares a value to be input into the database. |
Functions to access and update database objects.