TidesDB v0.1.0 BETA #108
guycipher
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Official v0.1.0 beta release of TidesDB.
Features
Building
Using cmake to build the shared library.
cmake -S . -B build cmake --build build cmake --install build
Include
Usage
Each database method returns a
tidesdb_err*
which returns an error code and message. If no error, TidesDB returnsNULL
.Opening a database
To open a new database you need to create a configuration and then open the database.
Creating a column family
In order to store data in TidesDB you need a column family.
You pass
Dropping a column family
Putting a key-value pair
You pass
Putting a key-value pair with TTL
Getting a key-value pair
You pass
Deleting a key-value pair
You pass
Transactions
You can perform a series of operations atomically. This will block other threads from reading or writing to the database until the transaction is committed or rolled back.
You begin a transaction by calling
tidesdb_txn_begin
.You pass
Now we can add operations to the transaction.
Cursors
You can iterate over key-value pairs in a column family.
Compaction
You can manually compact sstables.
Errors
What's Changed
New Contributors
Full Changelog: https://github.com/tidesdb/tidesdb/commits/v0.1.0b
This discussion was created from the release TidesDB v0.1.0 BETA.
Beta Was this translation helpful? Give feedback.
All reactions