src/Koldy/Db/Model.php
public static function resultSet(string $tableAlias = null): ResultSet
    {
        $rs = new ResultSet(static::getTableName(), $tableAlias);
        $rs->setModelClass(get_called_class())->setAdapter(static::getAdapterConnection());
        return $rs;
    }
public static function resultSet(string $tableAlias = null): ResultSet
    {
        $rs = new ResultSet(static::getTableName(), $tableAlias);
        $rs->setModelClass(get_called_class())->setAdapter(static::getAdapterConnection());
        return $rs;
    }
public static function resultSet ( string $ tableAlias = null ) : ResultSet { $ rs = new ResultSet ( static :: getTableName ( ) , $ tableAlias ) ; $ rs -> setModelClass ( get_called_class ( ) ) -> setAdapter ( static :: getAdapterConnection ( ) ) ; return $ rs ; }
Get the ResultSet object of this model

@param null|string $tableAlias

@return ResultSet
@throws \Koldy\Config\Exception
@throws \Koldy\Exception
Get the ResultSet object of this model