LUCID .with as a promise

#1

I am trying to write some code that will me to automate the build of queries based on a structured JSON object being passed in via a post request.

My biggest stumbling block at the moment is that .with uses a callback for builder, which I understand the need for when writing your own query in a controller, but to build my automation I need to get access to the builder via a promise.

Although I am not even sure if it is logical for it to return a promise.

More info on what I am trying to do is here

0 Likes