db icon indicating copy to clipboard operation
db copied to clipboard

Clarify default query constraint compound behavior

Open mcandre opened this issue 6 years ago • 1 comments

By default, sending multiple constraints to upper.io Find() behaves as a union (OR), which may surprise users expecting an intersection (AND). Can we make this default behavior more clear in the documentation and examples?

mcandre avatar Apr 22 '19 15:04 mcandre

I would argue against changing such a fundamental default, given that the library is presumably used in several thousand codebases.

Asday avatar Apr 22 '19 16:04 Asday