using KVDB_METHOD macro, solve node v0.10 compile issue.