redis-om-python/aredis_om
Mahmoud Harmouch 551429c01a
Allow users to define a new primary key. (#347)
* make primary key programmable

Signed-off-by: wiseaidev <business@wiseai.dev>

* get primary key field using the `key` method

Signed-off-by: wiseaidev <business@wiseai.dev>

* adjust delete_many & expire methods

Signed-off-by: wiseaidev <business@wiseai.dev>

* fix query for int primary key

Signed-off-by: wiseaidev <business@wiseai.dev>

* fix grammar

Signed-off-by: wiseaidev <business@wiseai.dev>

* add unit tests

Signed-off-by: wiseaidev <business@wiseai.dev>

Signed-off-by: wiseaidev <business@wiseai.dev>
Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
2022-09-08 14:38:49 +03:00
..
model Allow users to define a new primary key. (#347) 2022-09-08 14:38:49 +03:00
__init__.py Migrate from aioredis to redis-py with asyncio support (#233) 2022-08-10 15:21:13 +03:00
async_redis.py Migrate from aioredis to redis-py with asyncio support (#233) 2022-08-10 15:21:13 +03:00
checks.py Fixed linter issue. 2022-01-13 17:10:51 +00:00
connections.py Fixes issue decode_responses is set to True regardless if REDIS_OM_UR… (#373) 2022-09-08 13:53:24 +03:00
sync_redis.py Migrate from aioredis to redis-py with asyncio support (#233) 2022-08-10 15:21:13 +03:00
util.py Migrate from aioredis to redis-py with asyncio support (#233) 2022-08-10 15:21:13 +03:00