Skip to content

Initial release

Latest

Choose a tag to compare

@intentionally-left-nil intentionally-left-nil released this 02 Feb 04:04
5ea5802

Frozendb 0.1.0

The initial release! FrozenDB's can be created! They can be updated, and queried! The initial file format, the insert and query algorithms have been sorted out. The best way to check out this release is to use the CLI to get started, make a database and insert some data. Then, take a look at the examples for how to integrate FrozenDB into your own go program

CLI commands

  • create - Create a new frozenDB database
  • verify - Ensure the database is valid and not corrupted
  • inspect - View the raw database rows
  • begin / add / savepoint / commit / rollback - Scriptable commands to manipulate the database
  • get - get the value of a committed row

Public API

  • NewFrozenDB - Open an existing database, in read or write mode, returns a FrozenDB instance
  • FrozenDB.BeginTx() - open a new transaction
  • Transaction.AddRow()
  • Transaction.Savepoint()
  • Transaction.Commit()
  • Transaction.Rollback()