I'm testing out some queries in the Data Explorer window. I'm trying to construct some basic queries using lambdas, but these queries fail.
For example, this query works:
r.db('libstats').table('flowcells').filter(
{barcode: 'H3YTYCCXX'}
)
But the same query reformatted as a lambda does not:
r.db('libstats').table('flowcells').filter(lambda fc: fc['barcode'] == "H3YTYCCXX" )
RethinkDB consistently reports the following error:
SyntaxError: missing ) after argument list
I'm using RethinkDB v2.0.3 What am I doing incorrectly?