setConfig()
setConfig(\string $dsn, \string $username, \string $password, array $options = array())
Set config
Parameters
\string | $dsn | |
\string | $username | |
\string | $password | |
array | $options |
DB Class
$users = $db->select('*')->from('users')->where('id>1')->limit(100)->orderby('username')->fetchAll();