MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / IsMinuteToSecond

Method IsMinuteToSecond

pkg/sql/types/types.go:736–739  ·  view source on GitHub ↗

IsMinuteToSecond returns whether the IntervalDurationField represents the MINUTE TO SECOND interval qualifier.

()

Source from the content-addressed store, hash-verified

734// IsMinuteToSecond returns whether the IntervalDurationField represents
735// the MINUTE TO SECOND interval qualifier.
736func (m *IntervalDurationField) IsMinuteToSecond() bool {
737 return m.FromDurationType == IntervalDurationType_MINUTE &&
738 m.DurationType == IntervalDurationType_SECOND
739}
740
741// IsDayToHour returns whether the IntervalDurationField represents
742// the DAY TO HOUR interval qualifier.

Callers 2

sqlStdToDurationFunction · 0.80
parseShortDurationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected