Skip to content

docs: continue reorganizing 'Advanced QL' #2829

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

Closed
wants to merge 3 commits into from

Conversation

jf205
Copy link
Contributor

@jf205 jf205 commented Feb 13, 2020

Partially fixes https://github.com/github/product-documentation/issues/2188.

This PR continues the work started in #2583. I'm trying to reorganize the Advanced QL section. Hopefully we'll be able to get rid of that section altogether soon.

Changes in this PR

TODO

  • Add appropriate redirects
  • Move Monotonic aggregates in QL into the handbook, but I need some help from a QL writer to fill in some gaps in my knowledge before doing that.

Copy link
Contributor

@shati-patel shati-patel left a comment

Choose a reason for hiding this comment

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

LGTM


The result of this query is a list of the most specific types of every ``Expr`` in that function. You will see multiple results for expressions that are represented by more than one type, so it will likely return a very large table of results.

Use ``getAQlClass()`` as a debugging tool, but don't include it in the final version of your query, as it slows down performance.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this would be more visible as a note/warning?

@jf205
Copy link
Contributor Author

jf205 commented Feb 17, 2020

@max-schaefer over to you for a technical review, if you have a moment please

@jf205 jf205 removed the request for review from max-schaefer February 19, 2020 16:05
@jf205
Copy link
Contributor Author

jf205 commented Feb 19, 2020

Since these are fairly uncontroversial changes, I'd like to get this merged now as it's blocking https://github.com/github/product-documentation/issues/2157

@max-schaefer if you do have time to review, feel free to add comments here and I'll address them in a follow-up PR.

@shati-patel, before we merge I'll retarget this against rc/1.23 so that the changes become visible when we update help.semmle.com from that branch.

@jf205
Copy link
Contributor Author

jf205 commented Feb 19, 2020

Actually, I'm going to open a fresh PR. Retargetting introduces many conflicts. Closing this now.

@jf205
Copy link
Contributor Author

jf205 commented Feb 19, 2020

Replaced by #2876.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants