U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » SQL refactored, adding per-thread option, added second SQLR
Re: SQL refactored, adding per-thread option, added second SQLR [message #38322 is a reply to message #38319] Mon, 10 December 2012 05:24 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
kropniczki wrote on Sun, 09 December 2012 18:10

mirek wrote on Tue, 28 February 2012 08:09


SQL = MySession;
SQL.PerThread();


The syntax is valid, but it might not do what you expect. You need to create and assign a session in each thread again.



Is there an example on how to use it? If not, could you please briefly provide us with a few code lines on how to do it?

thanks!



It is used in e.g. Skylark. See examples/AddressBookWeb.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Testers wanted for new .deb packages
Next Topic: U++ logging refactored
Goto Forum:
  


Current Time: Thu Oct 15 16:42:56 GMT+2 2026

Total time taken to generate the page: 0.00949 seconds