strongloop / loopback

LoopBack makes it easy to build modern applications that require complex integrations.
http://loopback.io
Other
13.23k stars 1.2k forks source link

Docs: "or" example #1472

Closed rus0000 closed 9 years ago

rus0000 commented 9 years ago

http://docs.strongloop.com/display/public/LB/Where+filter#Wherefilter-and/or This is, actually, not supported:

{
  "or": {
    "and": [ {"field1": "foo"}, {"field2": "bar"}  ],
    "field1": "morefoo"
   }
}

or has to be an array: https://github.com/strongloop/loopback-datasource-juggler/blob/019705d32f9f6cff2ccca856214ad20854f46af9/lib/dao.js#L1047

It looks like documentation for Loopback is allways coming late. There are numerous talks in issues between team members: ... We need to update docs ..., but during months nothing changes. Is there any way to contribute in docs? Why to use Atlassian for docs and not github for an open source project?

rus0000 commented 9 years ago

Found http://docs.strongloop.com/display/public/LB/Contributing+to+LoopBack+documentation

superkhau commented 9 years ago

@crandmck ^

crandmck commented 9 years ago

Thanks for fixing @rus0000 . I approved your edit a few days ago -- normally I would get an email to alert me of the change, but there was a problem with the email server that Confluence uses. We just fixed that, so I'll be able to approve future edits more quickly.