redis-om-python/aredis_om/model
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
..
cli Final docs push 2021-11-24 18:12:27 -08:00
migrations Replace execute_command with specific redis functions when possible (#346) 2022-08-22 18:04:10 +03:00
__init__.py Fix lint issues 2021-11-10 12:10:49 -08:00
encoders.py Document some possible error messages 2021-11-26 15:25:18 -08:00
model.py Allow users to define a new primary key. (#347) 2022-09-08 14:38:49 +03:00
query_resolver.py Merge branch 'main' into asyncio 2021-11-09 15:59:10 -08:00
render_tree.py Merge branch 'main' into asyncio 2021-11-09 15:59:10 -08:00
token_escaper.py fix broken links (#348) 2022-09-08 13:56:31 +03:00