pub fn nextval<S>(seq: &mut Singleton<'_, S, u64>) -> Result<u64, StdError> where
    S: Storage
Expand description

nextval increments the counter by 1 and returns the new value. On the first time it is called (no sequence info in db) it will return 1.