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 » U++ Library support » U++ SQL » sql session in a global variable?
Re: sql session in a global variable? [message #40754 is a reply to message #34863] Thu, 12 September 2013 22:14 Go to previous messageGo to previous message
Alboni is currently offline  Alboni
Messages: 214
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
mirek wrote on Thu, 15 December 2011 11:56

Anyway, based on this conversation, I have found to be a good (and simple to implement) idea to have Sql::SetSession method.

So your example would be now basically possible to write as:

[code]
.....<snip>
sql.SetSession(sqlite3);





But............. Sql::SetSession is a private member.....
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Schema files, layouts
Next Topic: SqlArray with an Option
Goto Forum:
  


Current Time: Sat May 25 05:54:14 CEST 2024

Total time taken to generate the page: 0.00773 seconds