func (transaction *Transaction) Get(opts *ReadOptions, key []byte) (*Slice, error) {
	var (
		cErr    *C.char
		cValLen C.size_t
		cKey    = byteToChar(key)
	)
	cValue := C.rocksdb_transaction_get(
		transaction.c, opts.c, cKey, C.size_t(len(key)), &cValLen, &cErr,
	)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return nil, errors.New(C.GoString(cErr))
	}
	return NewSlice(cValue, cValLen), nil
}
// Get returns the data associated with the key from the database given this transaction.
Get returns the data associated with the key from the database given this transaction.
// Get returns the data associated with the key from the database given this transaction .
func (transaction *Transaction) Get(opts *ReadOptions, key []byte) (*Slice, error) {
	var (
		cErr    *C.char
		cValLen C.size_t
		cKey    = byteToChar(key)
	)
	cValue := C.rocksdb_transaction_get(
		transaction.c, opts.c, cKey, C.size_t(len(key)), &cValLen, &cErr,
	)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return nil, errors.New(C.GoString(cErr))
	}
	return NewSlice(cValue, cValLen), nil
}
func ( transaction * Transaction ) Get ( opts * ReadOptions , key [ ] byte ) ( * Slice , error ) { var ( cErr * C . char cValLen C . size_t cKey = byteToChar ( key ) ) cValue := C . rocksdb_transaction_get ( transaction . c , opts . c , cKey , C . size_t ( len ( key ) ) , & cValLen , & cErr , ) if cErr != nil { defer C . free ( unsafe . Pointer ( cErr ) ) return nil , errors . New ( C . GoString ( cErr ) ) } return NewSlice ( cValue , cValLen ) , nil }
Get returns the data associated with the key from the database given this transaction.
Get returns the data associated with the key from the database given this transaction .