staging

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitAllChanges

func CommitAllChanges(databaseContext database.Database, stagingArea *model.StagingArea) error

CommitAllChanges creates a transaction in `databaseContext`, and commits all changes in `stagingArea` through it.

func GenerateShardingID

func GenerateShardingID() model.StagingShardID

GenerateShardingID generates a unique staging sharding ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL