The parameters are passed in the execute method, not the command method. e.g.
OrientBaseGraph graph = ...; String query = ...; Map<String,String> params = ...; graph.command(new OCommandSQL(query)).execute(params); On Monday, March 31, 2014 8:44:07 AM UTC-4, Gaurav Dhiman wrote: > > Hi, > > I noticed that db.command() have only one parameter "command", it does not > have optional parameters to bind as in case of db.query(). As a result we > can not use ? to do dynamic binding. Any specific reason for that ? > > It will be good to have parameters in db.command() as in db.query(). > > Regards, > Gaurav > > -- --- 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.
