Hi,
the concept of tntdb is currently to support the built-in numeric C++ types
int, unsigned, float and double. But indeed the int and unsigned types are
even on 64-bit systems only 32 bit. Currently to only solution is to use
float or double. I see, that there is a need for 64-bit types.
The return type is then int64_t or uint64_t. Should we support then explicit
32 bit types int32_t and uint32_t then also?
The new methods for tntdb::Value are:
int32_t getInt32() const
uint32 getUnsigned32() const
int64_t getInt64() const
uint64_t getUnsigned64() const
The interface tntdb::IValue gets also these methods and every implementation
needs to be extended with them. Since the methods are quite trivial to
implement, I feel, that we should do that.
Currently in 0.9.2 there are drivers for sqlite3, mysql and postgresql and in
the svn-version is a driver for oracle.
Mark: it would be fine, if you send patches. I will integrate them.
Tommi
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general