Jump to content

query filtering on None value


csimon

Recommended Posts

Posted

Hi, 

Is there a way to filter a query with None value ? 

like : session.query("Note where parent_id is None")

For the moment this query is not working but that should return all Notes which have a None value as parent_id.

And it's the case for all Notes sent directly to recipients from ftrack Inbox interface.

Thanks.

Christian.

Posted

Hi,

That is indeed a bug, I have added a ticket for this and will get back to you once it is addressed. You can query relationships for using "has ()" but it will not work for this particular case as there is no relationship defined for parent.

cheers

Eric

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...