sqlite_orm
sqlite_orm copied to clipboard
❤️ SQLite ORM light header only library for modern C++
Hi, I'm trying to build the project (dev branch) against MSVC 2019, but after I generate the CMAKE and open the solution, at the build time I get the following...
This is just an experiment for fixing weird MSVC 2019 compiler error https://github.com/fnc12/sqlite_orm/issues/1072
For field `modified`, sql statements may like this, ``` CREATE TABLE Persons ( // id or other, etc `modified` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'modify timestamp', ); ```...
when use `in` operator in where conditions,as flow, ``` std::list user_ids; getStorage().get_all(where(in(&User::m_user_id, user_ids))); ``` the where conditions `user_ids` type is `std::list`, will build code fail, exception like, ``` SqliteTools.hpp:9535:29: error:...
I have a db created by a different ORM (pony ORM in python) and I created a similar db in sqlite_orm **When I try to load the pony ORM created...
Hi, The code below which uses inheritance doesn't compile when I add the **unique** line it compiles without it. is there a way to fix it? ``` struct TbBase {...
SOS
const auto filter0 = c(&TestRec::Get_m_strStopTime) == "00-00-00"; const auto filter1 = not m_oCheckBox[0].GetCheck() or c(&TestRec::Get_m_nWorkStationID) == nID; const auto filter2 = not m_oCheckBox[1].GetCheck() or c(&TestRec::Get_m_strBatchNo) == strOrderNo; const auto filter3...
1.8
Experimental PR to see the huge improvements in build times in action when using a much better tuple implementation than std::tuple. A custom tuple is presented that is based on...