Boost logo

Boost :

From: Julien Blanc (julien.blanc_at_[hidden])
Date: 2024-03-22 16:39:11


Le 2024-03-22 02:30, Klemens Morgenstern via Boost a écrit :
> A while back I asked about interest in a boost.sqlite library and got
> enough engagement that I think it's worth proposing.
>
> Hence I am seeking an endorsement and would like to see if someone
> wants to volunteer as review manager.
>

Given the example code:

conn.prepare("insert into author (first_name, last_name) values (?1,
?2), (?3, ?4), (?5, ?6), (?7, ?8)")
     .execute({"vinnie", "falco", "richard", "hodges", "ruben", "perez",
"peter", "dimov"});

Can i expect that the following:

conn.prepare("insert into author (first_name, last_name) values (?1,
?2), (?3, ?4), (?5, ?6), (?7, ?8)")
     .execute({"vinnie", "falco", "richard", "hodges", "ruben", "perez",
"peter"}); // oops, missed a value

will fail to compile ?

This is the kind of feature i would definitely like from a modern db
higher level library.

Regards,

Julien


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk