chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florent Guillaume <fguilla...@nuxeo.com>
Subject Re: Query - IN/ANY Predicate
Date Tue, 30 Aug 2016 12:58:31 GMT
Hi,

Please check the spec, §2.1.14.2.1 (BNF Grammar) for the allowed syntax:

  <column reference> [ NOT ] IN "(" <in value list> ")"
  <literal> "=" ANY <multi-valued-column reference>
  ANY <multi-valued-column reference> [ NOT ] IN "(" <in value list> ")

Also read §2.1.14.2.4.3 (Multi-valued column references) for explanations.

Florent



On Tue, Aug 30, 2016 at 8:10 AM, Sascha Homeier <sascha.homeier@gmail.com>
wrote:

>
> Hi together,
>
> I am unsure about what is the proper behaviour for queries on multi-valued
> properties.
>
> Is a simple IN operation (without the ANY predicate) on a multi-valued
> property type allowed or should the server return a
> CmisInvalidArgumentException?
> If allowed, what is the difference between a simple IN and an ANY/IN
> operation?
>
> tia
>
> Cheers
> Sascha




-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message