Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheMetadata ¶
func CacheMetadata(key MetadataCacheKey, data *sqlparser.Metadata)
func FindMetadata ¶
func FindMetadata(key MetadataCacheKey) *sqlparser.Metadata
Types ¶
type MetadataCache ¶
type MetadataCache struct {
// contains filtered or unexported fields
}
type MetadataCacheKey ¶
type MetadataCacheKey string
func CalcKey ¶
func CalcKey(sql string, params map[string]interface{}) MetadataCacheKey
Click to show internal directories.
Click to hide internal directories.