This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ----------------------------Transaction Builder------------------------------- | |
Spec: https://github.com/orientechnologies/orientdb/wiki/SQL-batch | |
- Bluebird promise library | |
EXAMPLE: | |
var tx = new Transaction(); | |
var s0 = tx.add(query1); | |
var s1 = tx.add(query2); //In query2 you can use the result of query1 with $0 ($<index>) |