User has DisplayName and it is unique for Users.
I want to Create User but firstly I have to check display name (DisplayName could not be duplicated for Users)
I've checked ServiceStack examples and I could not see Transactional Insert/Update with validation check.
How can I perform it. I dont want to write "Validation Tasks" for redis db. I dont want inconsistency in db.
Is possible to perform redis transactions. More information here
Using PHP have um better example: here
The ServiceStack.Redis client does have support for Redis's WATCH and transactions where these Redis commands:
Can be accomplished with: