ydb-go-sdk icon indicating copy to clipboard operation
ydb-go-sdk copied to clipboard

Go: Operation service client

Open asmyasnikov opened this issue 1 year ago • 0 comments

For example

operations, err := db.Operation().ListOperations(ctx)
for _, op := range operations {
   fmt.Println(op.Info())
   if true {
       op.Cancel(ctx)
   } else {
     op.Forget(ctx)
   }
}

asmyasnikov avatar Jun 21 '24 16:06 asmyasnikov