-
-
Notifications
You must be signed in to change notification settings - Fork 337
fixed cross join serialization #1459
New issue
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
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are doing great with using polyfills :)
dev/statement_serializer.h
Outdated
using statement_type = Join; | ||
|
||
template<class Ctx> | ||
SQLITE_ORM_STATIC_CALLOP std::string operator()(const statement_type& join, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please comment out the unused join
variable. I am getting frigthened by a lengthy warning message when compiling with warning level 4 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
this Cursor ambush was unexpected and happened due to my GitHub connection with Cursor account. I did not explicitly asked Cursor to make reviews here, it is a result of their shitty marketing. I disabled connection with GitHub to prevent this in future. Sorry for that |
std::string name; | ||
}; | ||
auto table = | ||
make_virtual_table("users", using_fts5(make_column("id", &User::id), make_column("name", &User::name))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure you want to make a virtual table?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not at all. It was my blind copy-pasting technique. Let me fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think unit tests for natural joins are also appropriate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure. I was thinking to skip it but you got me =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think unit tests for natural joins are also appropriate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
cross_join
serialization and fixedcross_join.cpp
examplecross_join_t
to a dedicated file inast
folderis_cross_join
traitstatement_serializer
@trueqbit probably I messed up with polyfill API - please feel free to add comments