src/Koldy/Db/Model.php
public static function select(string $tableAlias = null): Select
    {
        $select = new Select(static::getTableName(), $tableAlias);
        $select->setAdapter(static::getAdapterConnection());
        return $select;
    }
public static function select(string $tableAlias = null): Select
    {
        $select = new Select(static::getTableName(), $tableAlias);
        $select->setAdapter(static::getAdapterConnection());
        return $select;
    }
public static function select ( string $ tableAlias = null ) : Select { $ select = new Select ( static :: getTableName ( ) , $ tableAlias ) ; $ select -> setAdapter ( static :: getAdapterConnection ( ) ) ; return $ select ; }
Get the initialized Select object with populated FROM and connection adapter set

@param string $tableAlias

@return Select
@throws \Koldy\Config\Exception
@throws \Koldy\Exception
Get the initialized Select object with populated FROM and connection adapter set