Support command "DBSIZE"
pjeziorowski opened this issue · 3 comments
pjeziorowski commented
barkanido commented
Hey, how can I help here? any guidelines in solving this?
barkanido commented
browsing the code a little bit, looks like maybe storage::Storage
needs an additional size
method?
clarity0 commented
browsing the code a little bit, looks like maybe
storage::Storage
needs an additionalsize
method?
yeah should be pretty straightforward, just need to return the length of the data_mapper
field on the Storage
struct, and handle the command logic on /src/command/mod.rs
and /src/server/util/run_command.rs
, and add tests