Erik Winn
9a614869e9
* fix WSqlDatum data<> methods, do not reuse sstream (it appends data ..)
10 years ago
Erik Winn
13816c8988
add referencedVariableName conv. method
10 years ago
Erik Winn
01c9519e1e
clean up key strings, remove const char *s
10 years ago
Erik Winn
f08a43b78f
add escape_mysql_keyword - support for tables/columns named with mysql keywords
10 years ago
Erik Winn
b880498af4
add REFERING_VARIABLE_NAME, fix "long long" bug
* added tag REFERING_VARIABLE_NAME (ie. REFERENCED_VARIABLE_NAME without
the "_id" suffix
* fix Qt specific to type support for "long long": toLongLong ..
10 years ago
Erik Winn
e30141b7b1
add referingVariableName, fix white space
* add referingVariableName convenience method for _id cols
* reformat header, implementing whitespace policy
10 years ago
Erik Winn
417dcb116f
* move Wt::Dbo templates to wt/dbo subdiretory
deleted: class_declaration.tpl
new file: wt/dbo/class_declaration.tpl
new file: wt/dbo/class_definition.tpl
10 years ago
Erik Winn
7623818a06
* minor codegen template fixes
10 years ago
Erik Winn
39c1d4da73
* move datatype switches from wsqlcolumn to wsqldatatype
10 years ago
Erik Winn
9a6a875d67
* add HEADER_GUARD tag for #ifndef guards ..
* fix and improve Qt template examples
10 years ago
Erik Winn
4e95223682
* add smart lazy loading and misc improvements to Qt templates
10 years ago
Erik Winn
5758879db4
* add support for more template tags
10 years ago
Erik Winn
cfc1fd5776
* gradually improving (somewhat broken) Qt example templates
10 years ago
Erik Winn
beb51d22e4
* add support for new tags for template and more README stuff ..
10 years ago
Erik Winn
38d0e7915c
* add support for baseclass/subclass generation
10 years ago
Erik Winn
b037f99007
* lower case output file names
10 years ago
Erik Winn
7ce7dd5140
* fix some typo/format errors in example templates (Qt)
10 years ago
Erik Winn
134f18f884
* fix includes string (don't use angle brackets for local, doh ..)
* fix bug that overwrote dictionary entries for local includes
10 years ago
Erik Winn
b6b885ebac
* add static string constants for new supported tags
10 years ago
Erik Winn
4dd24f7b89
* adding new template examples .h/.cpp (for Qt)
10 years ago
Erik Winn
415fff1f17
* added support for columns count tag
* added support for primary key (section and key name)
* include vector if a table "has many"
* misc minor refactoring and clean up
10 years ago
Erik Winn
fb0fe27cd6
* added support for adding includes to class definition (.cpp) in code generator
10 years ago
Erik Winn
17f2dcb875
* removing boost dependencies
11 years ago
Erik Winn
15bcb21e4a
Change error handling - have drivers store errors in Database::errorStack
11 years ago
Erik Winn
711978e9a4
Formatting and minor adjustments
11 years ago
Erik Winn
8a32c84053
* fix build issues, vector mistake
11 years ago
Erik Winn
93c511fa13
Minor refactors (eg: empty -> isEmpty)
Major reformatting - switch to cleaner style and tabs, most .cpp files touched
Signed-off-by: Erik Winn <sidewalksoftware@gmail.com>
11 years ago
Erik Winn
925f701fe2
Refactoring accessors, updated docs
Misc notes/todo thoughts
11 years ago
Erik Winn
111f667d68
* add check to avoid reference to null driver in WSqlDatabase
* fix name clash with system library in WSqlError
11 years ago
Erik Winn
57bd815028
Added find ctemplate cmake module, changed CMakeLists to use variables for linkage
12 years ago
Erik Winn
67e2e842f5
changed email address
12 years ago
Costantino Giuliodori
bd5bc773c3
escaped "[]" chars from sqlite table names.
Cleaned build directory to avoid warnings from kdevelop.
Moved FindMySQL.cmake in cmake/ directory.
Added pgquiles's FindSqlite3.cmake.
12 years ago
Erik Winn
1a32c63ce9
documentation edits
12 years ago
Erik Winn
60cb0f3a99
API Refactoring - changed execute() to be query(), use when results expected
12 years ago
Erik Winn
1b600b2e21
Updated and added to documentation
12 years ago
Erik Winn
68c1402914
Moved doxygen index page content to its own file.
12 years ago
Erik Winn
79a2021ae4
Documentation
12 years ago
Erik Winn
ddb5c1b694
remove accidentally added ..
12 years ago
Erik Winn
b841b3bc24
Added install targets and documentation
12 years ago
Erik Winn
3930ef431b
fixed memory leak (forgotten closedir ..) in wormgen
12 years ago
Erik Winn
35140d9783
switched to new/pointer for ctemplate::TemplateDictionary - did not fix possible memory leak (this is a ctemplate issue)
12 years ago
Erik Winn
9bc4c1e856
Added documentation and default template directories
12 years ago
Erik Winn
44ed4bd6ce
Added install target to cmake files
12 years ago
Erik Winn
a8bb63d746
Disable verbosity in sqlite driver
12 years ago
Erik Winn
384d4ec1fb
Fix gettor in template
12 years ago
Erik Winn
9226c305b6
Added foreign key metadata support to sqlite driver
12 years ago
Erik Winn
4e8dd8dd7f
Fix settors in template ..
12 years ago
Erik Winn
f6cdd1e9f5
Added gettor/settors for referenced classes, smarter pluralizing
12 years ago
Erik Winn
f008de368c
dont repeat forward declarations
12 years ago
Erik Winn
f2d6362788
fine tuning logic w/ctemplate dicts, also - use table name in manytoone, disable verbosity ..
12 years ago