godexsoft / sqlite_orm Goto Github PK
View Code? Open in Web Editor NEWSimple C++ ORM for SQLite
License: Other
Simple C++ ORM for SQLite
License: Other
Simple C++ ORM for SQLite v0.1. Originally this was made to support simple cases in iOS games. For example storing scores. The ORM supports foreign collections and lazy loading. Released under New BSD license. See LICENSE file for more details. === Dependencies === - Sqlite3pp (included. see ext) - boost.bind, boost.any and some other boost libraries === Usage === For basic usage information please see my blog post: http://alex.tapmania.org/2011/12/simple-sqlite-orm-for-c.html and the example project included. - Raw SQL db_.execute(sql.c_str()); - Query with arguments std::map<std::string, boost::any> a; a[":score"] = 100000; a[":user_id"] = user.get_id(); boost::shared_ptr<score> r = score_dao_obj.query_first( "WHERE user_id = :user_id AND score >= :score", a); if(score) { cout << "Found score higher than 100000 for user with the given ID.\n"; }
Hello.
How I can to define rules to UPDATE/DELETE actions?
Regards.
Fernando Palha
Hello there. I got a C++ sqlite3 wrapper lib called sqlite_orm
too and located here. What do you think about name collision? Maybe it would be better if you change the name? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.