Skip to main content

LASTSAVE

Syntax

LASTSAVE

Module

admin

Categories

admin dangerous fast

Description

Get unix timestamp for the latest snapshot in milliseconds.

Examples

Get last snapshot timestamp:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
count, err := db.LastSave()