Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access the raw driver #25

Closed
rashtao opened this issue Nov 12, 2015 · 1 comment
Closed

access the raw driver #25

rashtao opened this issue Nov 12, 2015 · 1 comment

Comments

@rashtao
Copy link

rashtao commented Nov 12, 2015

With .getClient() the already connected client is returned. Is there a way to get the static / raw driver? I mean the object returned by require('cassandra-driver').

Eg. I often do:

var TimeUuid = require('cassandra-driver').types.TimeUuid;
// ...

but I would not access the Cassandra Driver in this way (I could have mismatches between my and Cassankenx versions). It would be nice something like:

var TimeUuid = require('cassanknex').driver.types.TimeUuid;
// ...
@UnbounDev
Copy link
Contributor

👍 makes sense!

UnbounDev added a commit that referenced this issue Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants