MCPcopy Create free account
hub / github.com/upper/db / Before

Function Before

comparison.go:92–94  ·  view source on GitHub ↗

Before is a comparison that means: is before the (time.Time) value.

(value time.Time)

Source from the content-addressed store, hash-verified

90
91// Before is a comparison that means: is before the (time.Time) value.
92func Before(value time.Time) *Comparison {
93 return &Comparison{adapter.NewComparisonOperator(adapter.ComparisonOperatorLessThan, value)}
94}
95
96// OnOrAfter is a comparison that means: is on or after the (time.Time) value.
97func OnOrAfter(value time.Time) *Comparison {

Callers 1

TestComparisonOperatorsFunction · 0.85

Calls 1

NewComparisonOperatorFunction · 0.92

Tested by 1

TestComparisonOperatorsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…