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: 14271 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 Nov 14 14:32:30 CET 2025
Total time taken to generate the page: 0.08061 seconds
|