Home » Community » U++ community news and announcements » Sql: ValueMap and ValueArray support, SqlSession::ThrowOnError
Sql: ValueMap and ValueArray support, SqlSession::ThrowOnError [message #34948] |
Mon, 19 December 2011 20:04 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
It is now possible to read the whole row into ValueMap (including keys), using either new Fetch(ValueMap&) method or new GetRowMap method (after Fetch).
There is also a new Sql::operator/, which is similar to %, but reads all values into ValueArray of ValueMaps.
SqlSession now has ThrowOnError method, which makes session and all associated Sql to throw on errors regardless of execution method called. In other words, with this active, Execute behaves like ExecuteX and operator* like operator&. operator% and operator/ throw as well...
|
|
|
Goto Forum:
Current Time: Fri May 24 17:11:01 CEST 2024
Total time taken to generate the page: 0.00763 seconds
|