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

Home » U++ Library support » U++ SQL » Sql global
Sql global [message #6598] Mon, 20 November 2006 08:47 Go to previous message
laurice is currently offline  laurice
Messages: 22
Registered: September 2006
Promising Member
How do you declare a global Sql sql instance?
Why do I need this? I want to speed up a very long process by executing just one query and my SetTimeCallback function will just fetch it from the global sql.Fetch().

I tried to declare a global Sql sql and attach the session by
sql = Sql(session), but it exits the program.

Are there any other approach other than populating global Vectors or Arrays, such as Sql iterators?

Thanks,

Laurice
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plugin/SQlite still wrong naming for linux
Next Topic: mysql error
Goto Forum:
  


Current Time: Sun Apr 26 18:03:20 GMT+2 2026

Total time taken to generate the page: 0.00660 seconds