mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
chore: add comment on BTreeCursor::seek
This commit is contained in:
parent
e5d0ad044e
commit
a33984087f
1 changed files with 1 additions and 0 deletions
|
@ -417,6 +417,7 @@ impl BTreeCursor {
|
|||
/// Move the cursor to the record that matches the seek key and seek operation.
|
||||
/// This may be used to seek to a specific record in a point query (e.g. SELECT * FROM table WHERE col = 10)
|
||||
/// or e.g. find the first record greater than the seek key in a range query (e.g. SELECT * FROM table WHERE col > 10).
|
||||
/// We don't include the rowid in the comparison and that's why the last value from the record is not included.
|
||||
fn seek(
|
||||
&mut self,
|
||||
key: SeekKey<'_>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue