aboutsummaryrefslogtreecommitdiff
path: root/cursor_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move code to src/ and tests/EuAndreh2024-10-251-817/+0
|
* test suite refactoringBen Johnson2016-01-021-222/+485
| | | | | | | | | This commit refactors the test suite to make it cleaner and to use the standard testing library better. The `assert()`, `equals()`, and `ok()` functions have been removed and some test names have been changed for clarity. No functionality has been changed.
* skip empty pages during cursor seekLuke Champine2015-11-051-0/+43
| | | | | | | | This commit fixes an issue where keys are skipped by cursors after deletions occur in a bucket. This occurred because the cursor seeks to the leaf page but does not check if it is empty. Fixes #429, #450
* Add cursor examples.Ben Johnson2014-08-161-0/+79
|
* Remove testify.Ben Johnson2014-07-261-72/+71
|
* Move tests to a test package.Ben Johnson2014-07-261-21/+22
|
* Remove wrapping test closures.Ben Johnson2014-07-261-310/+322
|
* add Cursor.Delete()Martin Kobetic2014-06-111-0/+40
|
* Add seek forward test.Ben Johnson2014-06-091-0/+52
|
* Merge pull request #134 from Shopify/c_cursorBen Johnson2014-04-211-5/+5
|\ | | | | C cursor
| * Add Cursor.Next() to C cursor.Ben Johnson2014-04-161-5/+5
| |
* | Add Cursor.Bucket() function.Ben Johnson2014-04-161-0/+12
|/ | | | | This commit adds an accessor to the Cursor type to retrieve the Bucket that it was created from.
* Return bucket from CreateBucket() functions.Ben Johnson2014-04-151-15/+24
| | | | | | | | | | | This commit changes the API for: Tx.CreateBucket() Tx.CreateBucketIfNotExists() Bucket.CreateBucket() Bucket.CreateBucketIfNotExists() These functions now return the *Bucket and error instead of just the error.
* Add nested buckets.Ben Johnson2014-04-111-0/+307
This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56.