Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  mirek
Messages: 13975
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...
Previous Topic: Sql::SetSession, Sql0
Next Topic: U++ library prebuilt for vs2008
Goto Forum:
  


Current Time: Mon Apr 29 04:13:36 CEST 2024

Total time taken to generate the page: 0.02091 seconds