question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RequestQueryBuilder add brackets for join query

See original GitHub issue

Why does builder add brackets to join query, if count of join more than 1? Example: query.setJoin({ field: 'company' }).setJoin({ field: 'roles' }) At the out we get join[]=company&join[]=roles and backend requestparser cant parse it, so it just ignores that I didnt find any ability to disable this function, or I have missed something in configuration?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
WazZrocommented, Aug 15, 2019

@zMotivat0r yes, it works! thanks 😃 I think it’s necessary adding to the documentation

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add brackets around WHERE conditions with Laravel ...
Very useful, I use this: ->where(function ($query) use ($texto){ $query->where('UPPER(V_CODIGO)', 'LIKE', '%'.Str::upper($texto).
Read more >
Using Parentheses with Joins - No Column Name
This makes the optimizer evaluate inside the brackets first and then join that result back to Table1. itzikJoinPlan. Nice and simple. Funnily ...
Read more >
Select using Query Builder - typeorm - GitBook
InsertQueryBuilder - used to build and execute INSERT queries. Example: ... You can add a complex WHERE expression into an existing WHERE using...
Read more >
classes-regression-1.txt - Community Code Review
ShortValueGenerator asia.redact.bracket.properties.serializer. ... QueryHandler$KeepAliveResponse com.couchbase.client.core.endpoint.query.
Read more >
Adding brackets in join > where - Laravel.io
Hi all,. Due to the lack of "WHERE IN" for joins, I'm trying to add a bracketed 'OR WHERE' query, but I can't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found