package sugar
import "github.com/ydb-platform/ydb-go-sdk/v3/sugar"
Index ¶
- func MakePath(ctx context.Context, db ydb.Connection, path string) error
- func RmPath(ctx context.Context, db ydb.Connection, pathToRemove string, names ...string) error
Functions ¶
func MakePath ¶
MakePath creates path inside database
func RmPath ¶
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}`
Source Files ¶
- Version
- v3.5.0-rc1
- Published
- Dec 19, 2021
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 8 minutes ago –
Tools for package owners.