Skip to content

Deferred columns inconsistency #161

Open
@jagusiak

Description

@jagusiak

We are using deferred column:

d_column = column_property(
        func.pg_func(id), deferred=True)

It gave a naming error -- as SQL Alchemy generated column name on that. Hence we label it:

d_column = column_property(
        func.pg_func(id).label('test'), deferred=True)

All works fine since that point, but this column doesn't appear in a sort.
Questions:

  • Should it appear?
  • If not -- why its name is validated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions