Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

allow removal of column names from a query result #755

Copy link
Copy link

Description

@d-w-moore
Issue body actions

If slightly more than an optimal number of columns are being requested in a query result (often this happens when using the model class such as DataObject as a stand-in for all of the contained columns, eg DataObject.name, DataObject.id, etc) it may be desirable to be able to exclude column names in the context of the session.query( ) method.We could do this bu prefacing a column with a minus-sign and overloading irods.column.Column __neg__), in this way for example:

sess.query(DataObject, Collection, -DataObject.collection_id, -Collection.map_id )

signifying the named columns should be removed from the query result.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.