How to specify multiple fetchplan rules using HTTP REST API?
i tried
curl "http://admin:admin@localhost:2480/document/testdb/40:0/*:-1 orders:0"
also
curl
"http://admin:admin@localhost:2480/document/tempdb/40:0/*:-1%20orders:0"
both queries return the same results, which includes details of the orders
(#39:0, #39:1, #39:2) which is not expected:
{"@type":"d","@rid":"#40:0","@version":1,"@class":"invoice","customer":{"@type":"d","@rid":"#37:0","@version":1,"@class":"customer","name":"nagu"},"address":{"@type":"d","@rid":"#36:0","@version":1,"@class":"address","streetname":"kammanahalli
main
road","city":{"@type":"d","@rid":"#35:0","@version":3,"@class":"city","name":"bangalore","stdcode":"080","country":{"@type":"d","@rid":"#34:0","@version":1,"@class":"country","name":"india"}}},"orders":[{"@type":"d","@rid":"#39:0","@version":1,"@class":"orderitem","product":"soap","quantity":1,"price":10,"@fieldTypes":"price=c"},{"@type":"d","@rid":"#39:1","@version":1,"@class":"orderitem","product":"towel","quantity":2,"price":12,"@fieldTypes":"price=c"},{"@type":"d","@rid":"#39:2","@version":1,"@class":"orderitem","product":"coffee","quantity":1,"price":7,"@fieldTypes":"price=c"}],"@fieldTypes":"orders=z"}
am i using wrong syntax or is it a bug ?
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.