Open borosr opened 4 years ago
Create a struct Filter with fieldName, value, operator fields, which represents the where condition. This is would be an alternative method for N1QL's select usage.
Filter
fieldName
value
operator
We won't write our own filter mechanism. There is a function provided by the gocb, we only care about to filling the incoming struct with the data.
Create a struct
Filter
withfieldName
,value
,operator
fields, which represents the where condition. This is would be an alternative method for N1QL's select usage.