How to pass parallel parameter in executes long running select query's parallelly
I want to execute a long-running query for select data this query holds the database waiting for a response and application is going to wait for the state I want to execute that query in parallelly so need to pass PARALLEL in select query
OrientJS select function not supported that parameter is any other way to perform this query?
SELECT [ <Projections> ] [ FROM <Target> [ LET <Assignment>* ] ] [ WHERE <Condition>* ] [ GROUP BY <Field>* ] [ ORDER BY <Fields>* [ ASC|DESC ] * ] [ UNWIND <Field>* ] [ SKIP <SkipRecords> ] [ LIMIT <MaxRecords> ] [ FETCHPLAN <FetchPlan> ] [ TIMEOUT <Timeout> [ <STRATEGY> ] [ LOCK default|record ]
[ PARALLEL ] [ NOCACHE ]
How to pass this param like select(target, PARALLEL) .
Hi @rohitpatil7892
Parallel is not supported yet in the query builder. It should be trivial to add. I will mark this as enhancement for the next releases.
It will be something like this
select().from('OUser').parallel()
Thanks
@wolf4ood Do we have tentative ETA of next release?