The find command just prints the found model instances to StdOut, which is not always very helpful. The CLI should include some output flags like --json and --csv to output the result as JSON or CSV. For this to happen, the models have to include a to_dictfunction.
The
find
command just prints the found model instances to StdOut, which is not always very helpful. The CLI should include some output flags like--json
and--csv
to output the result as JSON or CSV. For this to happen, the models have to include ato_dict
function.