sugar

package
v3.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakePath

func MakePath(ctx context.Context, db ydb.Connection, path string) error

MakePath creates path inside database

func RmPath

func RmPath(ctx context.Context, db ydb.Connection, pathToRemove string, names ...string) error

RmPath remove selected directory or table names in database. All database entities in prefix path will remove if names list is empty. Empty prefix means than use root of database. RmPath method equal bash command `rm -rf ./pathToRemove/{name1,name2,name3}`

Types

This section is empty.

Jump to

Keyboard shortcuts

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