I'm sorry, I understand that this method lacks in performance, but I'm afraid it's the only way. You can't do it with a single select query.
Il giorno sabato 27 maggio 2017 07:28:16 UTC+2, Pugazharasan Thirumalai ha scritto: > > Hai Ivan, > > As you mentioned above first of all we have to write java script > code, their i have run the query "select from custom_offer" after that we > have to write some logic and the again we have to sun the query "select > *,next_offer(@this.@rid).created_date as end_date from custom_offer". > > We are having thousands of data if we run like that performance will > affect, But output what you got is correct. Kindly give query on single > select query. > > > > > > > > > > -- --- 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.
