[fdo-internals] FdoParameterValue and FdoDataValue
greg.boone at autodesk.com
Tue Feb 27 10:13:02 EST 2007
Can you circulate the new wording to this alias?
From: fdo-internals-bounces at lists.osgeo.org
[mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Mateusz
Sent: Monday, February 26, 2007 9:18 PM
To: FDO Internals Mail List
Subject: Re: [fdo-internals] FdoParameterValue and FdoDataValue
Mateusz Loskot wrote:
> It will work, but I'm wondering if there is a another possibility,
> shorter. As I see, there is FdoDataValue::ToString() member function.
> What is the purpose of this ToString() ?
I've learned it and I'm quite sure I decrypted the purpose behind this
What is a bit ambiguous about FdoDataValue and its specializations,
is that it's defined in Expression module, but in fact it's also used
in plain SQL commands too.
This also might mislead to assumption about value returned
For example, I've had no idea the ToString() for data type of string
will add extra quotes aroung string.
In PostgreSQL, for binding params no extra quotes are needed because
it's handled by libpq client library.
I see, there are also some variations of string representation
I believe it's a good idea to provide a few words in the comment
block of ToString() header for these types, so a user is not
required to look into the implementation to find what out what values he
If everyone agree, I can add these details and submit to the SVN.
Please, just give me a Go! or Stop!
fdo-internals mailing list
fdo-internals at lists.osgeo.org
More information about the fdo-internals