Page 1 of 1

Prepare query command

Posted: 09.07.2008, 21:55
by fcodebue
I can't find prepare query command.
I know this is probably a firebrid only feature!
I need it to prepare a query and after this operation understand all fields, parameters datatype

query.FieldByName('FIELDNAME').Datatype....

Posted: 10.07.2008, 12:21
by mdaems
I know this is probably a firebrid only feature!
Dream on ;)
Mysql also supports it. And I'm almost sure Postgres also does.

Concerning the question : Prepare is not supported, at the moment. Internally query's are always prepared for firebird. When placeholders are used, Parameters are bound after the prepare.
However... We are thinking about adding this support. At least for mysql (as I'm a mysql user). So we'll need team members implementing that for FB. Are you a candidate?

MArk

Posted: 10.07.2008, 20:32
by fcodebue
mdaems wrote: Dream on ;)
I 'm Firebird Foundation Committee Member, so ...
...Are you a candidate?
I will do, but I don't know when. I'm organizing FBCon 08 in Italy in september so I'm a bit busy at the moment...
But I wanna help, I believe a lot in this project!!!!

Posted: 10.07.2008, 22:11
by mdaems
I think before september there's no chance active 6.7 development will start. So you'll have plenty of time to think about it...

Mark