Skip to content

Support for TRUNCATE #623

@fpringle

Description

@fpringle

Hi there! Are there any plans to support the TRUNCATE command in Opaleye? At the moment if we want to clear a table we have to do DELETE FROM ... WHERE true (i.e. Delete table (const (toFields True)) rCount), which can be considerably slower for very large tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions