-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add aggregation example #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add aggregation example #17
Conversation
doc/example/aggregations.rst
Outdated
.. note:: | ||
|
||
Queries that include aggregations have to use the operations syntax (see: | ||
https://help.ftrack.com/en/articles/1040498-operations) and be passed to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
old docs.
doc/example/aggregations.rst
Outdated
@@ -0,0 +1,97 @@ | |||
.. | |||
:copyright: Copyright (c) 2015 ftrack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2023
…of github.com:ftrackhq/ftrack-python into backlog/support-for-aggregations-in-api/documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm and examples run fine.
select count(id) from Task group by status_id | ||
|
||
Queries that include group by clauses must be executed using the | ||
:func:`session.call()` method versus :func:`session.query()`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to also include the new version of the help docs https://help.ftrack-studio.backlight.co/hc/en-us/articles/13129860019863-Operations link as well?
Resolves FT-e3301f68-820a-481a-bfe2-f1935b020508
Changes
Rendered docs: