当我从Python运行以下Couchbase查询时
mystring = 'XEXE%'
from couchbase.n1ql import N1QLQuery
row_iter = cb.n1ql_query(N1QLQuery('SELECT BoardAsString FROM boardwascreated WHERE BoardAsString LIKE $mystring', mystring))
我得到了错误
Error evaluating filter. - cause: No value for named parameter $mystring.
有人知道为什么会这样吗?
答案 0 :(得分:1)