let tasks = await db.models.instance.Task.find({task_status: constants.STATUS.ENQUEUED});
It returns to me this error:
(node:5136) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'return_query' of undefined
at Function.f [as find] (D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\node_modules\express-cassandra\lib\orm\base_model.js:743:50)
at executeTasks (D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\app\main.js:46:44)
at D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\app\main.js:61:5
at D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\node_modules\express-cassandra\lib\orm\base_model.js:351:9
at Function.f [as _sync_graph] (D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\node_modules\express-cassandra\lib\orm\base_model.js:261:3)
at D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\node_modules\express-cassandra\lib\orm\base_model.js:344:13
at Function.f [as _sync_es_index] (D:\Phantasy star\Mobi\Daniars_Project\smartcontract\conductor-global-worker\node_modules\express-cassandra\lib\orm\bas
Hello. When I'm trying to make this query:
It returns to me this error: