Skip to content

amreisa/QSQLGenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QSQLGenerator for Qt

This project is a fork of qsqlcodegen, which can be found here: http://sourceforge.net/projects/qsqlcodegen/

Building

You will need Qt 4.x or 5.x in order to build QSQLGenerator. There is a pro file and a visual studio 2008 solution provided.

Notes

When you create database tables, the first field must be the key field. The code assumes that ordinal 0 is the key field. As you can see in my test database, I just use _id.

One more note. If you are going to be inserting a large number of records, open a transaction and use commit when done. This will make an operation that takes 25 minutes without a transaction, take 5 seconds.

License

The code is released under the MIT license.

About

Sqlite code generator for Qt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.2%
  • Other 1.8%