11 Nov
2013
11 Nov
'13
10:49 a.m.
On 09-11-2013 23:03, Roland Bock wrote:
Hi,
sqlpp11 is a template library representing an embedded domain specific language (EDSL) that allows you to
* define types representing tables and columns, * construct type safe queries checked at compile time for syntax errors, type errors, name errors and even some semantic errors, * interpret results by iterating over query-specific structs with appropriately named and typed members.
Very interesting. Have you considered a syntax like auto results = db >> select(Person.name,Person.age) >> from(foo) >> where( Person.age > 42); -Thorsten