Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rafageist committed Sep 10, 2019
1 parent 2ea08bc commit 9f9cbd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ Now look at an example of how to use your model:
```php
<?php

use divengine\orm;

$pdo = new PDO();
orm::connectGlobal($pdo);

$person = new Person(['name' => 'Peter']);
// $person::connect($pdo);
$person->insert();

$list = new PersonCollection();
Expand Down

0 comments on commit 9f9cbd2

Please sign in to comment.