Skip to content

Add a command option that will wrap execute() in a transaction #219

@bckohan

Description

@bckohan

BaseCommand's output_transaction treats the return value of the command as a sql statement.

Since TyperCommands may chain multiple subcommand calls, if we want to wrap all calls in a transaction we need to supply a command-wide class option to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions