Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
DBManager.cc 1.78 KB
DBManager.h 2.62 KB
Makefile 205 Bytes
database.db 3 KB
main.cc 1.57 KB

Latest revisions

# Date Author Comment
30f264c2 02/02/2017 01:54 PM David Sorber

Correcting memory leak cause by not calling sqlite3_finalize.

7080e544 01/27/2017 11:59 AM David Sorber

Updating the templatized query PoC to support the case where integer or float type columns return NULL and should be treated as 0 and 0.0 respectively.

9141fda7 01/24/2017 04:28 PM David Sorber

Another minor tweak to the makefile to add the useful "-f" flag to rm so that it doesn't puke if the file(s) you're attempting to remove don't exist.

6e0e98fd 01/24/2017 04:17 PM David Sorber

Minor tweak to makefile to delete the executable on clean.

258a530e 01/24/2017 04:11 PM David Sorber

Adding a boolean helper function to my proof-of-concept.

143a60e7 01/24/2017 03:47 PM David Sorber

After much contemplation I realized that my previous approach to solving this execute query template function problem was more wrong than right. Several days of staring at and reading about variadic templates later I figured out the correct way to accomplish my goal.

6e4119a4 01/19/2017 08:32 PM David Sorber

I finally got back to working on this POC, and I was able to get it mostly working. The only issue right now is that the template magic is attempting to create code for which the types don't match and don't cast decay nicely. That is if you try to assign a std::string to a tuple. Hopefully I can fix this with a bit of massaging.

88cf406f 12/26/2015 03:34 PM David Sorber

Adding sqlite proof-of-concept. This code does not compile due to some template issues but I want to keep track of it none the less.

View revisions

Also available in: Atom