We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c283d22 commit ec2ab37Copy full SHA for ec2ab37
1 file changed
README.md
@@ -16,13 +16,11 @@ use Coderatio\PhpFirebase\PhpFirebase;
16
17
$pfb = new PhpFirebase();
18
$pfb->setTable('posts');
19
-$pfb->addRecords([
20
- [
21
- 'id' => 1,
+$pfb->insertRecord([
22
'title' => 'Post one',
23
'body' => 'Post one contents'
24
- ]
25
-])
+ ], $returnData);
+ //The $returnData which is boolean returns inserted data if set to true. Default is false.
26
```
27
28
## Reading records (R)
0 commit comments