Exemple #1
0
func (t *transaction) getReadVersion() FutureInt64 {
	return &futureInt64{newFuture(C.fdb_transaction_get_read_version(t.ptr))}
}
Exemple #2
0
func (t *transaction) getReadVersion() FutureVersion {
	f := &future{C.fdb_transaction_get_read_version(t.ptr)}
	runtime.SetFinalizer(f, (*future).destroy)
	return FutureVersion{f}
}