DATACOUCH-310 - Convert N1ql query parameter enums to string values
Original pull request: #148.
This commit is contained in:
@@ -172,6 +172,8 @@ public class N1qlQueryCreatorUtils {
|
||||
Expression converted;
|
||||
if (next instanceof String) {
|
||||
converted = s((String) next);
|
||||
} else if (next instanceof Enum) {
|
||||
converted = s(String.valueOf(next));
|
||||
} else {
|
||||
converted = x(String.valueOf(next));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user