First step towards separating the logic and creating an extendable architecture.
WIP: Implementing a new saner an cleaner architecture.
Implemented a full compileSelectSQL with the MySQL SQLDesigner.
Added #compileDeleteSQL to the SQL designer.
Added #compileUpsertSQL to the SQLDesigner.
Renamed SQLDesigner to QueryBuilder.
Turned QueryBuilder into a constructor function, accepting collection as input. Qualify is no longer an option - is automatically determined within the QueryBuilder.
WIP: Connecting the pieces of the puzzle.
Binding and cleaning up.
v.0.5.0
Emergency bugfix: referencing type instead of selector.
v.0.5.1
Renamed Database#calculatePath to #findPath. Sounds more reasonable.
First use of promises.
Added promises everywhere. Now need to remove the throw statements and use promises instead.
async npm module is no longer needed - promises cover the need of queues and paraller execution.
Removed one more dependency from async - using bluebird promises instead.
Added a deferred connectivity collection test case.
Bugfix: referencing enqueue instead of _enqueue.
Bugfix: Promise@setScheduler is not what I originally thought. Using it wrong results is an infinite loop.