MCPcopy Create free account
hub / github.com/araddon/qlbridge / Current

Method Current

schema/schema.go:597–597  ·  view source on GitHub ↗

Current Is this schema object current? ie, have we refreshed it from source since refresh interval.

()

Source from the content-addressed store, hash-verified

595// Current Is this schema object current? ie, have we refreshed it from
596// source since refresh interval.
597func (m *Table) Current() bool { return m.Since(SchemaRefreshInterval) }
598
599// SetRefreshed update the refreshed date to now.
600func (m *Table) SetRefreshed() { m.lastRefreshed = time.Now() }

Callers 1

TestTableFunction · 0.95

Calls 1

SinceMethod · 0.95

Tested by 1

TestTableFunction · 0.76