indexcheck

package
v1.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIndexCheckingDatastoreProxy

func NewIndexCheckingDatastoreProxy(d datastore.SQLDatastore) datastore.Datastore

NewIndexCheckingDatastoreProxy returns a datastore proxy that runs EXPLAIN ANALYZE on all relationships queries and ensures that the index(es) used within match those defined in the schema for the datastore.

func WrapWithIndexCheckingDatastoreProxyIfApplicable

func WrapWithIndexCheckingDatastoreProxyIfApplicable(ds datastore.Datastore) datastore.Datastore

WrapWithIndexCheckingDatastoreProxyIfApplicable wraps the provided datastore with an index-checking proxy if the datastore is an SQLDatastore.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL