5 * @author Sebastian Skejø
10 interface AOOSStorageInterface
13 * Sets table to manipulate data in
15 public function setTable($table);
18 * Inserts values into database
20 public function insert($values);
23 * Removes values from database
25 public function remove($where);
28 * Updates values in database
30 public function update($values, $where, $limit = 0);
33 * Returns an array with all fields $fields that matches $where
35 public function select($fields, $where, $order, $limit);
38 * Returns an integer representing the number of rows
40 public function numRows($where = null);
45 public function create($fields, $props);
50 public function drop();
54 * AOOSModelPropertyInterface
56 interface AOOSModelConstraintInterface
{
57 static public function name();
59 static public function numArgs();
61 static public function check($args, $value);
63 static public function execute($args, $value);