Skip to content

New data structure —— Hash #136

Closed
@qishenonly

Description

@qishenonly

We need a new data structure, Hash, to extend the database's key-value storage structure.
We need to build some instructions into Hash to make it more complete.
If you are interested in extending the Hashdata structure, you can comment below on the issue id you would like to try and we will assign it to you.

id issue method describtion people process
1 Hash method HSet HSet key field value Sets the value of the specified field in the specified hash key to the specified value. @qishenonly  finished
2 Hash method HGet HGet key field Gets the value of the specified field in the specified hash key. @qishenonly   finished
3 Hash method HMSet HMSet key field1 value1 [field2 value2 ...] Sets values for multiple fields in the specified hash key at the same time.    
4 Hash method HMGet HMGet key field1 [field2 ...] Gets the values of multiple fields in the specified hash key at the same time. @saeid-a   finished
5 Hash method HDel HDel key field1 [field2 ...] Removes one or more fields from the specified hash key. @qishenonly   finished
6 Hash method HExists HExists key field Checks whether the specified field exists in the specified hash key. @qishenonly  finished 
7 Hash method HKeys HKeys key Gets all field names in the specified hash key.    
8 Hash method HVals HVals key Gets all field values in the specified hash key.    
9 Hash method HLen HLen key Gets the number of fields in the specified hash key @qishenonly   finished
10 Hash method HGetAll HGetAll key Gets all fields and their values in the specified hash key.    

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions