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
The document said, the snapshot is created at the time db.get() was called.
I thought, this means that the snapshot is latest data for this calling.
However, the document also said, it should not see the data of simultaneous write operations.
Can the data be changed after db.get() was called (and the snapshot was created) and before db.get() returns the data?
That is, I understand that an iterator might return old data because that reads lazily it, but db.get() is not. Then I thought that db.get() returns latest data before something changes it.
Or, is there a way to get latest data?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, thank you for the great library.
I have a question about the document for snapshot with
db.get()
.https://github.com/Level/classic-level#dbgetkey-options-callback
The document said, the snapshot is created at the time
db.get()
was called.I thought, this means that the snapshot is latest data for this calling.
However, the document also said, it should not see the data of simultaneous write operations.
Can the data be changed after
db.get()
was called (and the snapshot was created) and beforedb.get()
returns the data?That is, I understand that an
iterator
might return old data because that reads lazily it, butdb.get()
is not. Then I thought thatdb.get()
returns latest data before something changes it.Or, is there a way to get latest data?
Thank you.
The text was updated successfully, but these errors were encountered: