dyne / restroom-mw

🛠 Easy REST API builder executing Zencode
https://restroom.dyne.org
GNU Affero General Public License v3.0
3 stars 11 forks source link

Redis: SET_OBJECT_NAMED = "write {} into redis under the key named by {}", #174

Closed andrea-dintino closed 2 years ago

andrea-dintino commented 2 years ago

We need a statement that writes the content of an object into a key something like:

SET_OBJECT_NAMED = "write {} into redis under the key named by {}",

The "key named by" MAY not be passed as paramenter so is not present at on.before() but it must be read between the output on on.success()

jaromil commented 2 years ago

@andrea-dintino needs consistency with the zencode syntax. I haven't checked carefully, but think it should be:

save {} to {} using redis