Star

Created With

linkUnwind

QueryBuilderParameters['UnwindI']

linkUnwind by using a literal string

A literal string will be used as is.

1linkconst queryBuilder = new QueryBuilder()

2link .unwind('[1, 2, 3] as arr'); /* --> literal string to use */

3link

4linkconsole.log(queryBuilder.getStatement()); // UNWIND [1, 2, 3] as arr

5linkconsole.log(queryBuilder.getBindParam().get()); // {}

linkUnwind by using an object

Unwind using an object with the value to unwind, and what to unwind as

1linkconst queryBuilder = new QueryBuilder().unwind({

2link /* --> unwind this value */

3link value: 'x',

4link /* --> as this */

5link as: 'y'

6link});

7link

8linkconsole.log(queryBuilder.getStatement()); // UNWIND x as y

9linkconsole.log(queryBuilder.getBindParam().get()); // {}

UnwindUnwind by using a literal stringUnwind by using an object

Introduction Getting Started

Modelschevron_right

Sessions and Transactions

Query Builderchevron_right
Query Runnerchevron_right

Bind Parameters

Where Parameters