Skip to content

Utility methods #49

@Cattes

Description

@Cattes

To use lists of int/str in where clauses we are currently using utility methods which transform ['string1', 'string2'] -> "'string1' , 'string2'" and [1, 2] -> '1, 2' so they can be used in a queries where clause WHERE cid in ({cid_list}).
These utility methods should be bundled in this package to have an optimal, unified way to transform the lists.

Since SQL Where statements have a maximal character limit, a check for that could also be included here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions