-
Notifications
You must be signed in to change notification settings - Fork 0
Open
@ThomasTJdev
Description
To ensure that we dont populate a IN (xxx) with empty data strip() and check:
nim_sqlbuilder/src/sqlbuilderpkg/select.nim
Lines 25 to 34 in 499dc88
if access != "":
if wes.len == 0:
acc.add(" WHERE " & accessC & " in ")
acc.add("(")
else:
acc.add(" AND " & accessC & " in (")
for a in split(access, ","):
acc.add(a & ",")
acc = acc[0 .. ^2]
acc.add(")")
Metadata
Metadata
Assignees
Labels
No labels