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
11 years ago
Erik Winn
39c1d4da73
* move datatype switches from wsqlcolumn to wsqldatatype
11 years ago
Erik Winn
9a6a875d67
* add HEADER_GUARD tag for #ifndef guards ..
* fix and improve Qt template examples
11 years ago
Erik Winn
5cb77c381d
* README additions for new tags
11 years ago
Erik Winn
4e95223682
* add smart lazy loading and misc improvements to Qt templates
11 years ago
Erik Winn
5758879db4
* add support for more template tags
11 years ago
Erik Winn
cfc1fd5776
* gradually improving (somewhat broken) Qt example templates
11 years ago
Erik Winn
beb51d22e4
* add support for new tags for template and more README stuff ..
11 years ago
Erik Winn
9f25ecd40d
* format README to fit github's idea of how long a line should be ..
11 years ago
Erik Winn
da7a46ebb6
* adjust README for new additions, quasi-stability ..
11 years ago
Erik Winn
38d0e7915c
* add support for baseclass/subclass generation
11 years ago
Erik Winn
b037f99007
* lower case output file names
11 years ago
Erik Winn
7ce7dd5140
* fix some typo/format errors in example templates (Qt)
11 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
11 years ago
Erik Winn
b6b885ebac
* add static string constants for new supported tags
11 years ago
Erik Winn
4dd24f7b89
* adding new template examples .h/.cpp (for Qt)
11 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
11 years ago
Erik Winn
fb0fe27cd6
* added support for adding includes to class definition (.cpp) in code generator
11 years ago
Erik Winn
d6f727c220
Removed boost from requirements.
11 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
11c05dd38f
Update readme and add warning: API changes
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
12 years ago
Erik Winn
57bd815028
Added find ctemplate cmake module, changed CMakeLists to use variables for linkage
13 years ago
Erik Winn
29aa6d4c3a
fix find sqlite3 cmake mod for ubuntu/debian 386/32 libraries
13 years ago
Erik Winn
c7db6fe3e4
add file to hold build directory in place
13 years ago
Erik Winn
c02a62d38d
Merged pull request: add Sqlite cmake module, move cmake mods from build/ to cmake/, escape [] in sqlite driver
13 years ago
Erik Winn
d8d48dd782
Merge branch 'master' of https://github.com/ilkosta/worm
13 years ago
Erik Winn
67e2e842f5
changed email address
13 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.
13 years ago
Erik Winn
1a32c63ce9
documentation edits
13 years ago
Erik Winn
60cb0f3a99
API Refactoring - changed execute() to be query(), use when results expected
13 years ago
Erik Winn
1b600b2e21
Updated and added to documentation
13 years ago
Erik Winn
68c1402914
Moved doxygen index page content to its own file.
13 years ago
Erik Winn
ee883e7937
Adding minimal Wt example usage of wormlib DAL functionality.
13 years ago
Erik Winn
5eb27e3738
Installation instructions improved in readme
13 years ago
Erik Winn
79a2021ae4
Documentation
13 years ago
Erik Winn
77e809a044
Adding doxygen docs (for those w/out doxygen)
13 years ago
Erik Winn
ddb5c1b694
remove accidentally added ..
13 years ago