Update _rocksdb.pyx
This commit is contained in:
parent
8159afd4b3
commit
5afbf3cb73
1 changed files with 6 additions and 0 deletions
|
@ -1271,6 +1271,12 @@ cdef class ColumnFamilyOptions(object):
|
||||||
def __set__(self, value):
|
def __set__(self, value):
|
||||||
self.copts.level_compaction_dynamic_level_bytes = 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 class Options(ColumnFamilyOptions):
|
||||||
cdef options.Options* opts
|
cdef options.Options* opts
|
||||||
cdef PyCache py_row_cache
|
cdef PyCache py_row_cache
|
||||||
|
|
Loading…
Reference in a new issue