Commit 29807a2a authored by Alex Renoki's avatar Alex Renoki

Merge branch 'refactor/readme' of github.com:rennokki/laravel-mongodb into refactor/readme

parents 2b68b002 77cec750
preset: laravel
......@@ -236,7 +236,7 @@ class Book extends Model
protected $primaryKey = 'id';
}
// Mongo will also createa _id, but the 'id' property will be used for primary key actions like find().
// Mongo will also create _id, but the 'id' property will be used for primary key actions like find().
Book::create(['id' => 1, 'title' => 'The Fault in Our Stars']);
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment