MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / PostWriteHook

Method PostWriteHook

lib/gcpspanner/client.go:545–545  ·  view source on GitHub ↗
(
		ctx context.Context,
		txn *spanner.ReadWriteTransaction,
		client *Client,
		id ID,
		entity ExternalStruct,
	)

Source from the content-addressed store, hash-verified

543// postWriteHookMapper is a hook that runs after an entity is written.
544type postWriteHookMapper[ExternalStruct any, Key comparable, ID any] interface {
545 PostWriteHook(
546 ctx context.Context,
547 txn *spanner.ReadWriteTransaction,
548 client *Client,

Callers 1

upsertAndGetIDMethod · 0.65

Implementers 1

webFeatureSpannerMapperlib/gcpspanner/web_features.go

Calls

no outgoing calls

Tested by

no test coverage detected