Re: [Cppcms-users] Cppdb: Bound double constant becomes string of integer
Brought to you by:
artyom-beilis
|
From: CN <cn...@fa...> - 2014-03-13 14:42:04
|
I have just created a ticket. Thank you for your attention! It looks to me that all bound constants are sent to database engines as string even when these constants are numbers - integer, float, double, etc. PostgreSQL can properly determine data types and cast strings to numbers when it needs to. However, I wonder data type casting causes performance penalty. Does it make sense, and is it possible, for cppdb to intelligently determine and bind numbers and send them as numeric parameters rather than strings? Regards, CN On Thu, Mar 13, 2014, at 03:40 PM, Artyom Beilis wrote: > 1st I'll look into formatting code - try to make sure that there is > always a decimal point or "E". Can you please open a ticket please? -- http://www.fastmail.fm - The professional email service |