package sugar

import "github.com/ydb-platform/ydb-go-sdk/v3/sugar"

Index

Functions

func MakeRecursive

func MakeRecursive(ctx context.Context, db ydb.Connection, folder string) error

MakeRecursive creates path inside database

func RemoveRecursive

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

RemoveRecursive 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. RemoveRecursive method equal bash command `rm -rf ./path/to/remove`

Source Files

sugar.go

Version
v3.6.2
Published
Jan 10, 2022
Platform
linux/amd64
Imports
8 packages
Last checked
3 seconds ago

Tools for package owners.