redis-om-python
redis-om-python copied to clipboard
(Pipelining) Is there a method for pipelining a group of operations such as updates
If I have a set of redis-om defined objects (inherits from HashModel) is there an easy way for me to group my operations together to improve my performance when working with redis/redis-om? I would imagine it would be built around the Redis Pipeline Concept.
Hi - yes you can use pipelines in OM. When using the OM library you also have access to all the core Redis features - you can start a pipeline the same way, include OM commands inside it, then execute!
@simonprickett this should probably also be a documentation issue
Added documentation label.
some examples can be found in the code, e.g. https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L798