how to build up the library..

Adam Ruppe destructionator at gmail.com
Fri Oct 7 06:34:32 PDT 2011


What's the big advantage of

Person.find_all_by_name_and_age("Joe", 15)

over

db.query("select * from people where name = ? and age = ?", "Joe", 15);



The latter is much easier to write in the library and you retain all
the flexibility of sql itself if needed.


More information about the Digitalmars-d mailing list