Comments (11)
PR is here #1281
from sqlite_orm.
Sure:
auto storage = sqlite_orm::make_storage(
path,
sqlite_orm::make_virtual_table(
"test",
sqlite_orm::using_fts5(
sqlite_orm::make_column("X", &Test::X))
)
);
auto simulation = storage.sync_schema_simulate(false);
from sqlite_orm.
PR is here #1283
from sqlite_orm.
@trevornagy please check dev
branch
from sqlite_orm.
That fixes it, will close this issue now. Thanks!
from sqlite_orm.
@trevornagy what kind of error you get?
from sqlite_orm.
Updated the original bug with the error, sorry meant to include that to begin with.
from sqlite_orm.
oh kurwa, it is a bug! Looks like we never using triggers with sync_schema_simulate
. It turned out that schema_status
override for trigger_t
doesn't exist. Let me fix it fast
from sqlite_orm.
merged. Please check
from sqlite_orm.
@fnc12 Works for triggers, but just noticed this same issue happens with virtual tables (created with FTS5)
Should I create a new issue or should we reuse this?
from sqlite_orm.
@trevornagy this issue is enough. I reopened it. feel free to reopen issues by yourself if you are sure something more has to be committed to the code base to fix the issue. Could you share repro code please?
from sqlite_orm.
Related Issues (20)
- How to chain/assign conditions? HOT 4
- How to pre-expand when using the in-memory database mode? HOT 3
- Throwing std::system_error on sync_schema() ("SQL logic error") — syntax error? HOT 2
- Sqlcipher compatibility HOT 2
- PRAGMA options HOT 6
- vs2017 build failed HOT 3
- transaction_guard: Ability to specify transaction type HOT 3
- How to select a NULL value for a column in a select? HOT 4
- Aggregate function in example seems to work incorrectly HOT 3
- Issue: Incorrect Version Macro Check in `sqlite_orm.h` #define _LIBCPP_VERSION HOT 4
- SQLITE_VERSION_NUMBER used prior to include HOT 1
- IF EXISTS: Is it possible? HOT 9
- Aliases with group_by & order_by clauses HOT 2
- why sync_schema() allways drop records and recreate table? HOT 9
- is there a way to check whether a column is part of the primary key
- Why not reurn int64 for insert method? HOT 5
- Select distinct with return struct results in extra parenthesis HOT 2
- Support for setting the locking mode HOT 1
- build error HOT 3
- user self define sql HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite_orm.