Skip to content

maybe back_as should override dereferencing #42

@chadwhitacre

Description

@chadwhitacre

The following returns an object of whatever type bar is: we dereference bar when it's the only field requested.

bar = db.one('select foo from bar')

But what about this?

bar = db.one('select foo from bar', back_as=dict)

Right now the dereferencing trumps the back_as, but @seanlinsley, at least, expected the back_as to bind tighter. I can see that. Anyone else?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions