summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-07-16 14:34:21 -0600
committerJeff Sharkey <jsharkey@google.com>2018-12-01 17:23:04 -0700
commit55777e52dffdc16ddc2370c1c6e740d7bf3d92b0 (patch)
tree693b82f1fd698af63e38e932c8df5a23ec2eb1b0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0ae655fdae5359098723da013be68ac65dc58941 (diff)
Add support for appending standalone phrases.
When users are building queries, they often need to append several standalone SQL clauses, and it's tedious to track their first clause so they can manually append " AND " to each subsequent clause. So add new appendWherePhrase() API which appends a standalone phrase which is AND'ed together with any existing WHERE query. Also fix bug in update() which would turn null values into the string literal "null" instead of passing them through as SQL NULL. Test: atest cts/tests/tests/database/src/android/database/sqlite/cts/SQLiteQueryBuilderTest.java Bug: 111085900 Merged-In: Ia280dd864895654239503e080eaef925f5620d37 Change-Id: Ia280dd864895654239503e080eaef925f5620d37
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions