diegogub / aranGO

Golang driver for ArangoDB
Apache License 2.0
125 stars 31 forks source link

Set DATE to Database #38

Open Fruchtgummi opened 7 years ago

Fruchtgummi commented 7 years ago

How I get the date in my DB?

sav.Date_now = `DATE_ISO8601(DATE_NOW())`
err := db.Col("collection").Save(&sav)