crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.41.7
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
dsess
/
session_cache.go
Search
History
179 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
SessionCache
indexes
:
map[doltdb.DataCacheKey]map[string][]sql.Index
tables
:
map[doltdb.DataCacheKey]map[string]sql.Table
views
:
map[doltdb.DataCacheKey]map[string]string
mu
:
sync.RWMutex
newSessionCache
()
:
*SessionCache
*SessionCache
CacheTableIndexes
(key doltdb.DataCacheKey, table string, indexes []sql.Index)
GetTableIndexesCache
(key doltdb.DataCacheKey, table string)
:
([]sql.Index, bool)
CacheTable
(key doltdb.DataCacheKey, tableName string, table sql.Table)
ClearTableCache
()
GetCachedTable
(key doltdb.DataCacheKey, tableName string)
:
(sql.Table, bool)
CacheViews
(key doltdb.DataCacheKey, viewNames []string, viewDefs []string)
ViewsCached
(key doltdb.DataCacheKey)
:
bool
GetCachedView
(key doltdb.DataCacheKey, viewName string)
:
(string, bool)
All occurrences
Please wait...
Page is in error, reload to recover