How to stringify the values of json search for content in rethinkdb -


I have a document like this, I want full text search ( values ​​ only) Is it possible to change the object in the string in the RirthCAD? I have to do something like the r.table ('x') ('description'). It includes ('Commonwealth') I do not know if there are many or who will be children. So first convert all the values ​​of the single node into a string and then search the text (or other way). Thank you. {"Description": {"parlist": [{"listitem": {"text": {"bold": "their", "child": "Barriers are the best hope Pars Dave "," If ":" Commonwealth Crows Fill the Duke Wench Captain Lineville Wellness Brother Gray "}}}}}

This should work, but it is probably not super efficient

  r.table ('x'). Filters (Doctor) {returning doctor ('description)') .Corate to ("STRING"). Match ("Commonwealth")})    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -