Would love to help out here, but I’m fairly new to the library. What’s the best way to get the generated N1QL query from outside the library? A quick poked around the libary and I saw there was and internal class QueryParserHelper, but I didn’t see anything else.
However, per Brant’s suggestion I added the following: the VisitConstant Method he mentioned and that fixed the issue:
else if (namedParameter.Value is Guid)
{
_expression.AppendFormat("'{0}'", namedParameter.Value.ToString());
}