Skip to content

Conversation

fnc12
Copy link
Owner

@fnc12 fnc12 commented Oct 3, 2025

  • fixed cross_join serialization and fixed cross_join.cpp example
  • moved cross_join_t to a dedicated file in ast folder
  • added is_cross_join trait
  • removed cross join and natural join string superclasses and moved all serialization logic to statement_serializer

@trueqbit probably I messed up with polyfill API - please feel free to add comments

@fnc12 fnc12 requested a review from trueqbit October 3, 2025 19:43
Copy link
Collaborator

@trueqbit trueqbit left a 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 :)

using statement_type = Join;

template<class Ctx>
SQLITE_ORM_STATIC_CALLOP std::string operator()(const statement_type& join,
Copy link
Collaborator

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 :)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@fnc12 fnc12 requested a review from trueqbit October 4, 2025 11:09
Copy link

@cursor cursor bot left a 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.

@fnc12
Copy link
Owner Author

fnc12 commented Oct 4, 2025

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)));
Copy link
Collaborator

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?

Copy link
Owner Author

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

Copy link
Collaborator

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?

Copy link
Owner Author

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 =)

Copy link
Collaborator

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?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@fnc12 fnc12 requested a review from trueqbit October 4, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants