Documentation
¶
Index ¶
- Constants
- 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 Prepare(db *sql.DB, path string) error
- func SelectAllAfter(db *sql.DB, replicaID uint32, noteID *uuid.UUID, blockID *uuid.UUID, ...) ([]*block.Contribution, 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)
Constants ¶
View Source
const EMBED_SEPARATOR = string(filepath.Separator)
Variables ¶
This section is empty.
Functions ¶
func InsertBlock ¶ added in v1.1.0
func InsertCTRBs ¶ added in v1.1.0
func SelectAllAfter ¶
func SelectBlockData ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.