paulftw / hiberlite

C++ ORM for SQLite
BSD 3-Clause "New" or "Revised" License
714 stars 118 forks source link

Getting beans by another key other than the primary #23

Open super999 opened 8 years ago

super999 commented 8 years ago

I want this library could get a single bean by another key ,such as "itemid" or "name" . it seem only one way to get a bean with Database::loadBean function .

fnc12 commented 8 years ago

Yes. This what you we are really missing. Also it is good to make it a header-only lib.

d-led commented 8 years ago

There are currently no resources to add further features (@paulftw, correct?). You might want to want to look at the non-lite alternatives, such as sqlpp11