mirror of
https://github.com/tweag/ormolu.git
synced 2024-09-11 13:16:13 +03:00
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
src/PostgREST/Plan.hs
|
|
@@ -273,13 +273,12 @@
|
|
&& (
|
|
-- /projects?select=clients!projects_client_id_fkey(*)
|
|
matchConstraint hnt relCardinality
|
|
- || -- projects_client_id_fkey
|
|
+ || matchFKSingleCol hnt relCardinality -- projects_client_id_fkey
|
|
-- /projects?select=clients!client_id(*) or /projects?select=clients!id(*)
|
|
- matchFKSingleCol hnt relCardinality
|
|
|| matchFKRefSingleCol hnt relCardinality -- client_id
|
|
- || -- id
|
|
+ || matchJunction hnt relCardinality -- id
|
|
-- /users?select=tasks!users_tasks(*) many-to-many between users and tasks
|
|
- matchJunction hnt relCardinality -- users_tasks
|
|
+ -- users_tasks
|
|
)
|
|
)
|
|
$ fromMaybe mempty
|
|
|
|
Formatting is not idempotent.
|
|
Please, consider reporting the bug.
|