Skip to content

Update developing-hashes-crdb.md #680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/rs/developing/crdbs/developing-hashes-crdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Hashes are great for structured data that contain a map of fields and
values. They are used for managing distributed user or app session
state, user preferences, form data and so on. Hash fields contain string
type and string types operate just like the standard Redis string types
when it comes to CRDTs. Fields in hashes can be initialized as a string
when it comes to CRDTs. **Fields in hashes can be initialized as a string
using HSET or HMSET or can be used to initialize counter types that are
numeric integers using HINCRBY or floats using HINCRBYFLOAT.
numeric integers using HINCRBY or floats using HINCRBYFLOAT**.

Hashes in CRDBs behave the same and maintain additional metadata to
achieve an "OR-Set" behavior to handle concurrent conflicting writes.
Expand Down