An error occurred while fetching merge requests data.
From Sergey Linev:
1. Support of date/time/date&time/timestamp data introduced in TSQLStatement All such data now can be accessed without text conversion. The following methods can be used: SetTime()/GetTime() - only time (hour:min:sec), SetDate()/GetDate() - only date (year-month-day), SetDatime()/GetDatime() - date and time SetTimestamp()/GetTimestamp() - timestamp with seconds fraction For some of these methods TDatime type can be used as parameter / return value. Be aware, that TDatime supports only dates after 1995-01-01. There are also methods to get separately year, month, day, hour, minutes and seconds. 2. Support of binary data in TSQLStatement Most of modern data bases support just binary data, which is typically has SQL type name 'BLOB'. To access data in such columns, GetBinary()/SetBinary() methods should be used. Current implementation supposes, that complete content of the column must be retrieved at once. Therefore very big data of gigabytes size may cause a problem. git-svn-id: http://root.cern.ch/svn/root/trunk@16204 27541ba8-7e3a-0410-8455-c3a389f83636
Showing
- mysql/inc/TMySQLStatement.h 12 additions, 2 deletionsmysql/inc/TMySQLStatement.h
- mysql/src/TMySQLStatement.cxx 339 additions, 18 deletionsmysql/src/TMySQLStatement.cxx
- net/inc/TSQLStatement.h 28 additions, 1 deletionnet/inc/TSQLStatement.h
- net/src/TSQLStatement.cxx 174 additions, 1 deletionnet/src/TSQLStatement.cxx
- odbc/inc/TODBCStatement.h 11 additions, 1 deletionodbc/inc/TODBCStatement.h
- oracle/inc/TOracleStatement.h 18 additions, 3 deletionsoracle/inc/TOracleStatement.h
- oracle/src/TOracleRow.cxx 12 additions, 8 deletionsoracle/src/TOracleRow.cxx
- oracle/src/TOracleServer.cxx 5 additions, 3 deletionsoracle/src/TOracleServer.cxx
- oracle/src/TOracleStatement.cxx 282 additions, 28 deletionsoracle/src/TOracleStatement.cxx
Loading
Please register or sign in to comment