Closed yajo closed 3 years ago
Nice feature! The final syntax. (i called it 'runners/subcommands'):
write {{search my.model id [['some','=','domain']]}}.id "{'field': 'Value'}"
Syntax. can be:
{{subcommand}}
, {{subcommand}}.field
or {{subcommand}}[index]
So, no variables implemented. Direct usage only.
I need to do a mass write operation
search my.model id [['some','=','domain']]
returns 100 ids.write $last_search_ids "{'field': 'Value'}"
I guess it'd be great if there's a way to save that variable explicitly. Something like:
But the result is a list of dicts, so I'm not sure on how to operate over it to convert it to comma-separated ids like
write
wants... 🤔