Last active
January 12, 2016 09:39
-
-
Save lorenzo/6ffcbf74ebe3c1345b1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$values = [ | |
['title' => 'foo', 'body' => 'bar'], | |
['title' => 'foo 2', 'body' => 'bar 2'], | |
]; | |
$query = $table->query(); | |
$query | |
->insert(['title', 'body']) | |
->clause('values') | |
->values($values); | |
$query->execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment