Skip to content

Need Serializers for ORM  #40

@manistal

Description

@manistal

Need a way to provide the results of certain types of queries to the front-end via some type of serialization. For example:

@blueprint.route('/systems')
def systems():
    systems = [system.to_json() for system in System.query.all()]
    return json.dumps(systems)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions