Skip to content

[Mysql]: (Feature) Removed .fullJoin() from MySQL Api. #1351

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

Conversation

ItayBenAmi
Copy link
Contributor

@ItayBenAmi ItayBenAmi commented Oct 6, 2023

This PR addresses #1125, following #1091.

  • Added a new type MySqlJoinType which excludes the option for full joins.
  • Used said type in the MySQL query builder createJoin function instead of the regular JoinType.
  • Removed two MySQL select type-tests which included the fullJoin function as they are now redundant because .fullJoin() can no longer be used in a MySQL query.

Added new type MySqlJoinType which excludes the option for full joins and is used in the MySQL query builder createJoin function instead of the
regular JoinType.
Also removed two MySQL select type-tests which included the fullJoin function
@ItayBenAmi ItayBenAmi changed the title [Mysql]: (Feature) Removed .fullJoin() from MySQL Api. #1125 [Mysql]: (Feature) Removed .fullJoin() from MySQL Api. Oct 6, 2023
@Sukairo-02 Sukairo-02 self-requested a review April 8, 2025 05:27
@Sukairo-02 Sukairo-02 changed the base branch from main to nextver-pr-batch April 10, 2025 03:15
@Sukairo-02 Sukairo-02 merged commit 7696810 into drizzle-team:nextver-pr-batch Apr 10, 2025
AndriiSherman added a commit that referenced this pull request Apr 24, 2025
* Add support for cross join (#1669)

* Add cross join support

* Add cross join tests

* Updated docs links (docs TBD)

* Merged cross join function types into join function types, fixed missing cases for `cross` join type, ordered `crossJoin` test queries

* `onIndex` support for `MySQL` `crossJoin`, fixed lack of `onIndex` param description in JSDoc, additional tests, disabled test case failing due to driver's issue

---------

Co-authored-by: Sukairo-02 <[email protected]>

* Export `PgTextBuilderInitial` type (#1286)

* MySQL: Removed .fullJoin() from MySQL Api (#1351)

Added new type MySqlJoinType which excludes the option for full joins and is used in the MySQL query builder createJoin function instead of the
regular JoinType.
Also removed two MySQL select type-tests which included the fullJoin function

Co-authored-by: Sukairo-02 <[email protected]>

* [Pg] Add support for left and inner lateral join in postgres (#1079)

* feat: added support for left and inner lateral join in postgres

Signed-off-by: Alex Vukadinov <[email protected]>

* chore: updated method descriptions on the new joins

Signed-off-by: Alex Vukadinov <[email protected]>

* GH-420 allowing sql inside lateral joins and revert package.json

* GH-420 reverted package.json empty line at the end

* Changed JSDoc [WIP], reversed check

---------

Signed-off-by: Alex Vukadinov <[email protected]>
Co-authored-by: Sukairo-02 <[email protected]>

* Completed `left`, `inner`, `cross` lateral joins in `postgresql`, `mysql`, `gel`, `singlestore`, disabled implicit `schema.table` prefixes in column selections on single table selections for `gel` due to possible errors in subqueries on column name matches in inner and outer queries, added\altered related tests

* [SingleStore] Add Connection Attributes and Fix Options (#4417)

* add connection attributes to SingleStore driver connection

* fix allowing connection strings/options rather than external pool

---------

Co-authored-by: Andrii Sherman <[email protected]>

* Fix for #2654, related tests (#4353)

* Dprint

* Bumped version, added changelog, fixed broken test case

* fix(3554) Correct spelling of `nowait` flag (#3555)

* Fixed `nowait` in `Gel`, `SingleStore`, added change to changelog

* Updated changelog

* Fixed broken test case

* Fixed `nowait` tests in `bun-sql`, `mysql-prefixed`

* Add changelog updates

---------

Signed-off-by: Alex Vukadinov <[email protected]>
Co-authored-by: L-Mario564 <[email protected]>
Co-authored-by: Dan Imhoff <[email protected]>
Co-authored-by: Itay Ben-Ami <[email protected]>
Co-authored-by: Alex Vukadinov <[email protected]>
Co-authored-by: Mitchell Adair <[email protected]>
Co-authored-by: Andrii Sherman <[email protected]>
Co-authored-by: Jacob Elder <[email protected]>
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