I have query like below with some named parameters. I am using Couchbase Lite 3.0.2 version, ASP .Net Core 6
var queryStr = “SELECT docType FROM WHERE docType=$type”;
var query = db.CreateQuery(queryStr);
query.Parameters = new Parameters().SetString(“type”, “Job”);
when execute I am getting the beow error
“Some query parameters were left unbound and will have value MISSING
”
edit: my bad. wrong sample.
- Mike
Maybe SetString() returns null instead of the Parameters object? That would explain how the example works while yours does not. If that’s not the issue, then someone from #mobile will have to weigh in.
- Mike