1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-12 00:54:11 +02:00

improved phpDoc, capitalized Dibi

This commit is contained in:
David Grudl
2018-05-10 21:45:11 +02:00
parent f474abfeda
commit 3660f26e03
60 changed files with 88 additions and 123 deletions

View File

@@ -12,7 +12,7 @@ require __DIR__ . '/bootstrap.php';
$conn = new Dibi\Connection($config + ['formatDateTime' => "'Y-m-d H:i:s.u'", 'formatDate' => "'Y-m-d'"]);
// dibi detects INSERT or REPLACE command & booleans
// Dibi detects INSERT or REPLACE command & booleans
Assert::same(
reformat("REPLACE INTO [products] ([title], [price]) VALUES ('Drticka', 318)"),
$conn->translate('REPLACE INTO [products]', [
@@ -46,7 +46,7 @@ Assert::same(
);
// dibi detects UPDATE command
// Dibi detects UPDATE command
Assert::same(
reformat("UPDATE [colors] SET [color]='blue', [order]=12 WHERE [id]=123"),
$conn->translate('UPDATE [colors] SET', [