Update _rocksdb.pyx

This commit is contained in:
iFA 2021-02-19 09:10:01 +01:00 committed by GitHub
parent 8159afd4b3
commit 5afbf3cb73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1271,6 +1271,12 @@ cdef class ColumnFamilyOptions(object):
def __set__(self, value):
self.copts.level_compaction_dynamic_level_bytes = value
property ttl:
def __get__(self):
return self.opts.ttl
def __set__(self, value):
self.opts.ttl = value
cdef class Options(ColumnFamilyOptions):
cdef options.Options* opts
cdef PyCache py_row_cache