Skip to content

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

Merged

Conversation

rorsini
Copy link
Contributor

@rorsini rorsini commented Jun 30, 2023

Resolves FT-e3301f68-820a-481a-bfe2-f1935b020508

  • I have added automatic tests where applicable.
  • The PR contains a description of what has been changed.
  • The description contains manual test instructions.
  • The PR contains updates to the release notes.
  • I have verified that the documentation is still up to date.

Changes

Rendered docs:

Screenshot 2023-06-30 at 1 41 01 PM

Screenshot 2023-06-30 at 1 41 12 PM

@rorsini rorsini requested a review from a team as a code owner June 30, 2023 20:44
.. 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

old docs.

@@ -0,0 +1,97 @@
..
:copyright: Copyright (c) 2015 ftrack
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2023

Copy link
Collaborator

@octavian-ionescu octavian-ionescu left a 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()`.
Copy link
Collaborator

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?

@bjornrydahl bjornrydahl merged commit 361fa30 into main Oct 20, 2023
@bjornrydahl bjornrydahl deleted the backlog/support-for-aggregations-in-api/documentation branch October 20, 2023 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants