]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Tightened the rules for defining SELECT clauses for a JSON query.
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 6 Aug 2009 22:06:19 +0000 (22:06 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 6 Aug 2009 22:06:19 +0000 (22:06 +0000)
commit402766a42ef0c095c7e205e0a6fd53e708490509
treebf069e16389c1ed1a7ad792e3488b931990cb754
parent96d674f6dd1960431464cabb618290c7ad58eeab
Tightened the rules for defining SELECT clauses for a JSON query.

With two exceptions as noted below, the SELECT list for every class
must be encoded as an array.  Anything else is an error.

The exceptions: null and "*".  For the core class only, these
encodings request a default SELECT list.

For the core class: an empty array requests a default SELECT list.

For a non-core class: an empty array results in an error message,
but not an error.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13799 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/c-apps/oils_cstore.c