mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-15 01:25:00 +02:00
Feature/#8 datetime (#153)
This commit is contained in:
@ -4,6 +4,9 @@ import "github.com/MontFerret/ferret/pkg/runtime/core"
|
||||
|
||||
func NewLib() map[string]core.Function {
|
||||
return map[string]core.Function{
|
||||
"NOW": Now,
|
||||
"NOW": Now,
|
||||
"DATE": Date,
|
||||
"DATE_DAYOFWEEK": DateDayOfWeek,
|
||||
"DATE_YEAR": DateYear,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user