mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
whitespace
This commit is contained in:
@@ -20,7 +20,8 @@ Assert::same(
|
||||
$conn->translate('REPLACE INTO [products]', [
|
||||
'title' => 'Drticka',
|
||||
'price' => 318,
|
||||
]));
|
||||
])
|
||||
);
|
||||
|
||||
|
||||
// multiple INSERT command
|
||||
@@ -53,7 +54,8 @@ Assert::same(
|
||||
$conn->translate('UPDATE [colors] SET', [
|
||||
'color' => 'blue',
|
||||
'order' => 12,
|
||||
], 'WHERE [id]=%i', 123));
|
||||
], 'WHERE [id]=%i', 123)
|
||||
);
|
||||
|
||||
|
||||
// IN array
|
||||
@@ -198,7 +200,8 @@ Assert::same(
|
||||
'b8%d' => null,
|
||||
'b9%t' => null,
|
||||
'c1%t' => new DateTime('1212-09-26 16:51:34.0124'),
|
||||
]));
|
||||
])
|
||||
);
|
||||
|
||||
Assert::exception(function () use ($conn) {
|
||||
$conn->translate('SELECT %s', new DateTime('1212-09-26'));
|
||||
|
Reference in New Issue
Block a user