Star

Created With

linkRemove

QueryBuilderParameters['RemoveI']

linkRemove by using a literal string

A literal string will be used as is.

1linkconst queryBuilder = new QueryBuilder()

2link .remove('a.name'); /* --> literal string to use */

3link

4linkconsole.log(queryBuilder.getStatement()); // REMOVE a.name

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

linkRemove properties by using an object

The properties of an identifier can be removed by using an object.

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

2link /* --> the identifier whose properties will be removed */

3link identifier: 'a',

4link /* --> the properties of the identifier to remove */

5link properties: ['name', 'age']

6link});

7link

8linkconsole.log(queryBuilder.getStatement()); // REMOVE a.name, a.age

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

linkRemove labels by using an object

The labels of an identifier can be removed by using an object.

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

2link /* --> the identifier whose labels will be removed */

3link identifier: 'a',

4link /* --> the labels of the identifier to remove */

5link labels: ['Label1', 'Label2']

6link});

7link

8linkconsole.log(queryBuilder.getStatement()); // REMOVE a:Label1:Label2

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

RemoveRemove by using a literal stringRemove properties by using an objectRemove labels by using an object

Introduction Getting Started

Modelschevron_right

Sessions and Transactions

Query Builderchevron_right
Query Runnerchevron_right

Bind Parameters

Where Parameters