mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: Checking signature for if there's updates in Product's row query
This commit is contained in:
parent
174be88134
commit
c2c3632fab
@ -135,8 +135,9 @@ interface ProductDao : BaseDao<Product> {
|
|||||||
): SupportSQLiteQuery {
|
): SupportSQLiteQuery {
|
||||||
val builder = QueryBuilder()
|
val builder = QueryBuilder()
|
||||||
|
|
||||||
|
// TODO improve signature matching logic
|
||||||
val signatureMatches = """$TABLE_INSTALLED.$ROW_SIGNATURE IS NOT NULL AND
|
val signatureMatches = """$TABLE_INSTALLED.$ROW_SIGNATURE IS NOT NULL AND
|
||||||
$TABLE_PRODUCT.$ROW_SIGNATURES LIKE ('%.' || $TABLE_INSTALLED.$ROW_SIGNATURE || '.%') AND
|
$TABLE_PRODUCT.$ROW_SIGNATURES LIKE ('%' || $TABLE_INSTALLED.$ROW_SIGNATURE || '%') AND
|
||||||
$TABLE_PRODUCT.$ROW_SIGNATURES != ''"""
|
$TABLE_PRODUCT.$ROW_SIGNATURES != ''"""
|
||||||
|
|
||||||
// Select the return fields
|
// Select the return fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user