Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return this.ensureObjects(tree).then(() => {
// Add the uid and rev columns to the parse tree
this._addMetaColumns(tree);
// Deparse the parse tree back into a query
return {
sql : parser.deparse(tree),
tables : this.getTables(tree)
};
});
}