Version 0.7.0 beta - update for database functionality
This commit is contained in:
@@ -339,4 +339,20 @@ abstract class Db implements IDb
|
||||
$result = Postgres::query("SELECT * FROM information_schema.columns WHERE table_schema = 'public' AND table_name = '" . self::getTable()['table'] . "';");
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function loadPasswordByUsername( $user_name = false )
|
||||
{
|
||||
//TODO: Implement the postgres query
|
||||
}
|
||||
|
||||
/**
|
||||
* @desc select a row by the selected fieldset ( field and where value )
|
||||
* @param array $field
|
||||
* @return mixed
|
||||
*/
|
||||
public function selectRowByFieldWhere( $field = array() )
|
||||
{
|
||||
//TODO: Implement the posgtes query
|
||||
//return Pdo::fetchRowInArrayByWhere(self::$table['table'], $field['field'], $field['value']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user