public function __construct($table) { parent::__construct($table, Config::FORMAT_DATE); }
public static function getAllOnIDsFields($ids, $field) { $class = get_called_class(); $select = new Select(); $select->from($class::$table, "*")->whereIn($field, $ids); $data = self::$db->select($select); return AbstractObjectDb::buildMultiple($class, $data); }