MyGit

v1.0

fnc12/sqlite_orm

版本发布时间: 2018-03-09 18:28:26

fnc12/sqlite_orm最新发布版本:v1.9(2024-08-24 10:26:18)

Finally sqlite_orm v1.0 is released. This is a first stable version. All future versions with the same major version number will have back-compatibility with this version. If you meet broken compatibility within the same major version please report a bug in the issues section.

Features

storage.select(columns(&Visit::mark, &Visit::visited_at, &Location::place),
               inner_join<Location>(on(is_equal(&Visit::location, &Location::id))),
               where(is_equal(&Visit::user, id) and
                     greater_than(&Visit::visited_at, fromDate) and
                     lesser_than(&Visit::visited_at, toDate) and
                     lesser_than(&Location::distance, toDistance)),
               order_by(&Visit::visited_at));
for(auto &user : storage.iterate<User>()) {
    cout << storage.dump(user) << endl;
}

sqlite_orm.h SHA1 6e0b40c2b7122c02cb6d9efbade487689d933827

相关地址:原始地址 下载(tar) 下载(zip)

1、 sqlite_orm.h 261.05KB

查看:2018-03-09发行的版本