Qovery/RedisLess

Support command "DBSIZE"

pjeziorowski opened this issue · 3 comments

Hey, how can I help here? any guidelines in solving this?

browsing the code a little bit, looks like maybe storage::Storage needs an additional size method?

browsing the code a little bit, looks like maybe storage::Storage needs an additional size 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