Version 0.7.0 beta - update for database functionality

This commit is contained in:
Stephan Kasdorf
2019-01-27 16:20:25 +01:00
parent a2bb8a2f48
commit 7bc5198d31
14 changed files with 1477 additions and 31 deletions

View File

@@ -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']);
}
}