<?php
require(__DIR__ . '/vendor/autoload.php');
use easydowork\db\Connection;
use easydowork\db\Query;
$connect = new Connection([
'dsn' => 'mysql:host=127.0.0.1;dbname=test',
'username' => 'test',
'password' => 'test',
'charset' => 'utf8',
]);
$data = (new Query())->from('user')->all($connect);
print_r($data);
$connect->close();
-
Notifications
You must be signed in to change notification settings - Fork 0
easydowork/yii2-db
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published