On Mon, Oct 19, 2009 at 06:14:29PM -0700, Eric Day wrote:
> Which would folks prefer:
> 
> 1: String only interface
> 
> drizzle_value_st values[2];
> values[0].id= "name";
> values[0].data= "Eric";
> values[0].size= 4;
> values[1].id= "age";
> values[1].data= "28";
> values[1].size= 2;

What about

drizzle_add_string_parameter(query, "name", "Eric", strlen("Eric"));
drizzle_add_int_parameter(query, "age", 28);

?


-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to