Skip to content

Commit

Permalink
Update README for v0.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Eckerstorfer committed Oct 6, 2015
1 parent ef49acb commit 8a1452b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ $pdo = new \PDO(...);
$nqm = new NQM($pdo, $cache);
```

### Array Query Loader

Stores the queries in an array.

```php
use Cocur\NQM\QueryLoader\ArrayQueryLoader;

$loader = new ArrayQueryLoader(['foo' => 'SELECT ...;']);
```

### Query Collection

Sometimes you have multiple queries that are always executed together. For example, a `DROP TABLE`, `CREATE TABLE`
Expand Down Expand Up @@ -167,6 +177,10 @@ $nqm = NQMFactory::createFromEntityManager($entityManager, $queryLoader);
Change log
----------

### Version 0.4 (6 October 2015)

- Add `ArrayQueryLoader`

### Version 0.3 (16 February 2015)

- Add support for query collections
Expand Down

0 comments on commit 8a1452b

Please sign in to comment.