]> git.evergreen-ils.org Git - Evergreen.git/commit
Pull out into a separate function: the code in SELECT() that builds a
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Oct 2010 14:25:05 +0000 (14:25 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 11 Oct 2010 14:25:05 +0000 (14:25 +0000)
commit0ea4c196b38590ff2afc88c547cd5df243cd36e6
tree72b5ef1ca3f6f5a7e29ff10fcb4e792313bbf9b0
parent53f960b8db04cc331805262093236e895f620d02
Pull out into a separate function: the code in SELECT() that builds a
comma-separated list of ORDER BY expressions from a JSON_ARRAY.

Invoke that function, not only from SELECT(), but also from the
buildSELECT() function.

As a result, the select methods will be able to use the same array
syntax as json_query for ORDER BY clauses, as an alternative to the
existing hash syntax.

M    Open-ILS/src/c-apps/oils_sql.c

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