MCPcopy Create free account
hub / github.com/Permify/permify / Delete

Method Delete

internal/storage/storage.go:83–83  ·  view source on GitHub ↗

Delete removes data from the database based on the provided tuple and attribute filters for a specified tenant. Returns an encoded snapshot token representing the state of the database after the delete operation and any error encountered.

(ctx context.Context, tenantID string, tupleFilter *base.TupleFilter, attributeFilter *base.AttributeFilter)

Source from the content-addressed store, hash-verified

81 // Delete removes data from the database based on the provided tuple and attribute filters for a specified tenant.
82 // Returns an encoded snapshot token representing the state of the database after the delete operation and any error encountered.
83 Delete(ctx context.Context, tenantID string, tupleFilter *base.TupleFilter, attributeFilter *base.AttributeFilter) (token token.EncodedSnapToken, err error)
84
85 // RunBundle executes a specified data bundle for a given tenant.
86 // Returns an encoded snapshot token representing the state of the database after running the bundle and any error encountered.

Callers 15

DeleteMethod · 0.65
GenerateGCQueryFunction · 0.65
GenerateGCQueryForTenantFunction · 0.65
gc_test.goFile · 0.65
DeleteMethod · 0.65
runOperationMethod · 0.65

Implementers 6

dataClientpkg/pb/base/v1/service_grpc.pb.go
UnimplementedDataServerpkg/pb/base/v1/service_grpc.pb.go
NoopDataWriterinternal/storage/storage.go
DataWriterinternal/storage/postgres/data_writer.
DataWriterinternal/storage/memory/data_writer.go
DataServerinternal/servers/data_server.go

Calls

no outgoing calls

Tested by

no test coverage detected