On Thu, 28 Jul 2011, Ludo Brands wrote:

Agreed, but you cannot every kind of data type, for that you
will probably need the various databases... and hopefully a
continuous integration server to run the tests...


Sqldb converts databases types to the internal ftxxx datatypes. So,
yes, you can everything without external databases.
I admit I need to delve deeper into this, but to me it's
strange we have datatypes like ftOracleBlob and
ftParadoxOLE... These do seem to be database-specific (ok,
maybe within fcl-db, but still). Earlier today I've written
code to dumbly create a bufdataset with all these datatypes
for and will see what happens when assigning data to it. If
it blows, I'll comment it out... we'll see.

Db.pas line 2020 gives you the mapping between ftxxx and corresponding
Tfield descendant. This is a default mapping but AFAIK no db implementation
is actually overriding this.

Not in FPC, but in Delphi, IBX for instance overrides it.
Maybe mseide does it too.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to