Skip to content

Remove iktomi.db.sqla.DBSession class #138

@ods

Description

@ods

The only method it defines is get() which is not enough for class. Also it uses first() which might mask bugs when a maximum one row is expected but (erroneous) query returns many. In most cases calling scalar() is preferred, while first() should be used in the cases when you know what you are doing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions