You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per documentation, models.driver should point to the cassandra driver instance, so one should be able to run driver functions. I am trying to execute a query with the driver:
models.driver.execute(q, function (err, result) {
But this throws: "stacktrace": "TypeError: models.driver.execute is not a function
As per documentation, models.driver should point to the cassandra driver instance, so one should be able to run driver functions. I am trying to execute a query with the driver:
models.driver.execute(q, function (err, result) {
But this throws: "stacktrace": "TypeError: models.driver.execute is not a function
The models.driver properties are:
[ 'Client',
'ExecutionProfile',
'types',
'errors',
'policies',
'auth',
'token',
'metadata',
'Encoder',
'defaultOptions',
'version',
'ClientAsync',
'ExecutionProfileAsync',
'EncoderAsync',
'defaultOptionsAsync' ]
The text was updated successfully, but these errors were encountered: