SeaQL / seaql.github.io

📙 The official website of SeaQL
https://www.sea-ql.org/
Other
19 stars 44 forks source link

Documentation still features Expr::tbl though it's been removed since Dec 2022 #112

Open antoinecharbonneau opened 8 months ago

antoinecharbonneau commented 8 months ago

Description

The custom joins documentation suggests the use of the function Expr::tbl though it has been removed in 2022.

See here: https://www.sea-ql.org/SeaORM/docs/advanced-query/custom-joins/

Expected Behavior

Since it has been replaced, we should use Expr::col with a tuple to mimic the once intended behavior.

Actual Behavior

The documented code does not work, and the tbl function is out of the documentation, way past deprecation

Versions

Haven't looked, but as aforementionned, the breaking change has been done in december 2022.

Additional Information

I am in quite the hurry right now working on a project, but I can/will change the doc once I am done with my current work.