public static function query()
    {
        $query = new Query(get_called_class());
        $query->set_searchable_fields(static::get_searchable_fields());
        $query->set_primary_key(static::get_primary_key());

        return $query;
    }
public static function query()
    {
        $query = new Query(get_called_class());
        $query->set_searchable_fields(static::get_searchable_fields());
        $query->set_primary_key(static::get_primary_key());

        return $query;
    }
public static function query ( ) { $ query = new Query ( get_called_class ( ) ) ; $ query -> set_searchable_fields ( static :: get_searchable_fields ( ) ) ; $ query -> set_primary_key ( static :: get_primary_key ( ) ) ; return $ query ; }
Start a query to find models matching specific criteria.

@return Query
Start a query to find models matching specific criteria .