cachekey

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exact

func Exact(value string) predicate.CacheEntry

Exact matches a cache key without depending on the database's default collation. The ordinary equality remains present so the composite lookup index can narrow candidates before the dialect-specific confirmation.

func Prefix

func Prefix(value string) predicate.CacheEntry

Prefix matches the literal cache-key prefix without depending on the database's default collation. HasPrefix provides the sargable, escaped LIKE candidate predicate; the equality on a length-limited value confirms case without interpreting %, _, or backslash as wildcards a second time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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