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 » More .sch files?
More .sch files? [message #34811] Tue, 13 December 2011 16:54 Go to previous message
Wolfgang is currently offline  Wolfgang
Messages: 146
Registered: November 2011
Location: Germany
Experienced Member
I asked my how to make use of more than one .sch file, I mean if I want to use more than 1 sqlite3 database and want to use schema files?

For one it is clear, first I tell which file I want to use
#define SCHEMADIALECT <plugin/sqlite3/Sqlite3Schema.h>
#define MODEL <urlaub/urlaub.sch>

and then
SqlSchema sch(SQLITE3);
    All_Tables(sch);
    SqlPerformScript(sch.Upgrade());
    SqlPerformScript(sch.Attributes());

but I can't see how to specify more than one file for more than one database!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sql + editstring
Next Topic: BUG with "Run to cursor (in debug)"
Goto Forum:
  


Current Time: Thu Jun 06 21:34:51 CEST 2024

Total time taken to generate the page: 0.02291 seconds