hunt-entity v2.0.0 released!
Brian
zoujiaqing at gmail.com
Fri Nov 2 11:49:16 UTC 2018
entity rename to hunt-entity.
hunt-entity is an ORM for D programming language, Like java's JPA
and PHP's Doctrine2.
The main features of this release:
1. Support EQL (Entity Query Lanuage)
2. Support for ManyToMany
3. Replace SqlBuilder with QueryBuilder
4. Update hunt-database version to v1.0.0
5. Fix some bugs
## Use EQL
```D
auto q = em.createQuery!User("SELECT u FROM User u WHERE u.age >
18 AND u.status = 1 ;");
foreach(u ; q.getResultList())
{
logDebug("User id: %s , name: %s, age: %s".format(u.id,
u.name, u.age));
}
```
Repository:
https://github.com/huntlabs/hunt-entity
More information about the Digitalmars-d-announce
mailing list