redisco icon indicating copy to clipboard operation
redisco copied to clipboard

Feature Request: get_or_create could return tuple

Open stuaxo opened this issue 9 years ago • 1 comments

In Django get_or_create returns p, created this is useful as you can do different operations in the case a record was created.

Any chance a future version of redisco could do this ?

stuaxo avatar May 17 '16 11:05 stuaxo

yes, if we were using SETNX for example.

kiddouk avatar May 17 '16 13:05 kiddouk