Vinzenz 'evilissimo' Feenstra schrieb:
> Hi,
>
> I've attached the class query_args which can be used as VA_ARGS
> replacement for the methods database::execute and database::fetch
>
> a possible signature of database::execute
> void database::execute( query_args & args );
>
> Thinkable usage will be something like this: ( db is a object of
> database )
> db.execute( db.query("INSERT INTO TEST VALUES( ? , ? , ? , ? )") %
> value1 % value2 % value 3 % value 4);
>
> Let me know what you're thinking about it.I prefer your (or boosts) % syntax over my std::vector variant. IIRC this relates to the sqlite3.binary branch, doesn't it? Christof
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
