MCPcopy
hub / github.com/rubenv/sql-migrate / Less

Method Less

migrate.go:177–177  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

175func (b byId) Len() int { return len(b) }
176func (b byId) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
177func (b byId) Less(i, j int) bool { return b[i].Less(b[j]) }
178
179type MigrationRecord struct {
180 Id string `db:"id"`

Callers 2

TestLessMethod · 0.45
ToCatchupFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestLessMethod · 0.36