Add to docs: serialize with jsonify for returning multiple collections
Opened this issue · 0 comments
zardilior commented
It would be worth adding to docs, could do it myself access granted, that
collection.serialize()
combined with
jsonify({
"key":collection.serialize(),
"key2":collection.serialize()
})
is the right way to jsonifying a dict of collections example, an api endpoint to return results from two tables, due to a search.