package sugar
import "github.com/ydb-platform/ydb-go-sdk/v3/sugar"
Index ¶
- func MakeRecursive(ctx context.Context, db ydb.Connection, pathToCreate string) error
- func RemoveRecursive(ctx context.Context, db ydb.Connection, pathToRemove string) error
Functions ¶
func MakeRecursive ¶
MakeRecursive creates path inside database pathToCreate is a database root relative path MakeRecursive method equal bash command `mkdir -p ~/path/to/create` where `~` - is a root of database
func RemoveRecursive ¶
RemoveRecursive remove selected directory or table names in database. pathToRemove is a database root relative path All database entities in prefix path will remove if names list is empty. Empty prefix means than use root of database. RemoveRecursive method equal bash command `rm -rf ~/path/to/remove` where `~` - is a root of database
Source Files ¶
- Version
- v3.8.5
- Published
- Feb 4, 2022
- Platform
- windows/amd64
- Imports
- 9 packages
- Last checked
- 1 minute ago –
Tools for package owners.