Replies: 1 comment 1 reply
-
Apparently the Rust SDK closes the connection automatically when the object gets dropped, so drop(your_variable_name_for_the_db); should work. Checking a connection: how about the .health() method? https://docs.rs/surrealdb/latest/surrealdb/struct.Surreal.html#method.health (Not sure what nodejs does) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm evaluating this DB as my primary DB and I can't see anywhere following:
It would be very useful to be able to disconnect the db or at least check is it already connected
Beta Was this translation helpful? Give feedback.
All reactions