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
Is your feature request related to a problem? Please describe.
The terminology in use for opening and closing the database does not seem ideal.
For opening:
new Datastore({ autoload: true }) option
Datastore#load method
Datastore#loadDatabase method (deprecated)
Datastore#loaded event
For closing:
Datastore#unload method
Datastore#unloaded event
Describe the solution you'd like
I would like to consider shifting it from a "load*"/"unload*" semantic to either an "open*"/"close*" or a "connect*"/"disconnect*" semantic in v3.0.0.
Describe alternatives you've considered
Not changing it.
Additional context
Although I am currently preferring the idea of "open*"/"close*", most other database libraries refer to this as connect/close since they are actually connecting via sockets vs. just loading local files... prior art. 🤷♂️
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The terminology in use for opening and closing the database does not seem ideal.
For opening:
new Datastore({ autoload: true })
optionDatastore#load
methodDatastore#loadDatabase
method (deprecated)Datastore#loaded
eventFor closing:
Datastore#unload
methodDatastore#unloaded
eventDescribe the solution you'd like
I would like to consider shifting it from a "load*"/"unload*" semantic to either an "open*"/"close*" or a "connect*"/"disconnect*" semantic in
v3.0.0
.Describe alternatives you've considered
Not changing it.
Additional context
Although I am currently preferring the idea of "open*"/"close*", most other database libraries refer to this as
connect
/close
since they are actually connecting via sockets vs. just loading local files... prior art. 🤷♂️The text was updated successfully, but these errors were encountered: