We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code below causes exception in sync_schema() but the one below it doesn't (an important clue in solving it):
struct Object { std::string name; int nameLen; int number; }; constexpr int offset = 0; auto storage = make_storage("", make_table("objects", make_column("name", &Object::name), make_column("name_len", &Object::nameLen, generated_always_as(length(&Object::name))), make_column("number", &Object::number))); storage.sync_schema();
this one does not break:
struct Object { std::string name; int nameLen; int number; }; constexpr int offset = 0; auto storage = make_storage("", make_table("objects", make_column("name", &Object::name), make_column("name_len", &Object::nameLen, generated_always_as( offset + length(&Object::name))), make_column("number", &Object::number))); storage.sync_schema();
so?
The text was updated successfully, but these errors were encountered:
fixed in dev
dev
Sorry, something went wrong.
No branches or pull requests
This code below causes exception in sync_schema() but the one below it doesn't (an important clue in solving it):
this one does not break:
so?
The text was updated successfully, but these errors were encountered: