summaryrefslogtreecommitdiff
path: root/ext/librethinkdbxx/test/upstream/regression/568.yaml
blob: 91181171aa2b1244e993a25abe85da8d3dc1a7c7 (plain)
1
2
3
4
5
6
7
8
9
10
desc: concatmap that doesn't return stream crashes server (#568)
table_variable_name: tbl
tests:

  - cd: tbl.insert({'name':'Jim Brown'})

  - js: tbl.concatMap(function(rec){return rec("name")})
    py: tbl.concat_map(lambda rec:rec["name"])
    rb: tbl.concat_map {|rec| rec[:name]}
    ot: err("ReqlQueryLogicError", "Cannot convert STRING to SEQUENCE", [])