1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-26 15:34:22 +02:00

used PHP 5.4 syntax

This commit is contained in:
David Grudl
2015-10-06 01:39:01 +02:00
parent a32e24262f
commit 7c1f735f9b
69 changed files with 718 additions and 733 deletions

View File

@@ -8,11 +8,11 @@ require __DIR__ . '/bootstrap.php';
$conn = new DibiConnection($config);
$arr = array(
$arr = [
'title' => 'Super Product',
'price' => 12,
'brand' => NULL,
);
];
$fluent = $conn->insert('table', $arr)
->setFlag('IGNORE')->setFlag('DELAYED');