Versions in this module Expand all Collapse all v1 v1.1.0 May 7, 2024 Changes in this version + func InsertBlock(db *sql.DB, noteID *uuid.UUID, block *block.Block) error + func InsertCTRBs(db *sql.DB, noteID *uuid.UUID, contributions []*block.Contribution) ([]*uuid.UUID, error) + func SelectBlockData(db *sql.DB, noteID *uuid.UUID, blockID *uuid.UUID) ([]byte, error) + func SelectBlocks(db *sql.DB, noteID *uuid.UUID) ([]*block.Block, error) v1.0.0 Apr 26, 2024 Changes in this version + const EMBED_SEPARATOR + func Insert(db *sql.DB, noteID *uuid.UUID, contributions []*block.Contribution) ([]*uuid.UUID, error) + func Prepare(db *sql.DB, path string) error + func SelectAllAfter(db *sql.DB, replicaID uint32, noteID *uuid.UUID, blockID *uuid.UUID, ...) ([]*block.Contribution, error)