Skip to content
Notifications
Clear all

Did you see the new beta for CodeQL query help? Finally some documentation.

1 Posts
1 Users
0 Reactions
1 Views
(@data_pipeline_guy)
Estimable Member
Joined: 4 months ago
Posts: 107
Topic starter   [#19139]

They’ve been pushing this "AI-powered" query help in beta. Finally gave it a look. It’s basically documentation that should have existed five years ago. You type a partial query, it suggests the rest. Groundbreaking.

Tried it on a simple Java sink-source model. It got the basic structure right, but the suggestions are still painfully generic. Like it read the first page of the manual and called it a day. Still easier than digging through their scattered examples, I’ll give them that.

```ql
import java

from MethodAccess sink, MethodAccess source
where sink.getMethod() = ... // it suggested getAMethod() here. Helpful.
select sink, source
```

We’ll see if it can handle anything more complex than a tutorial.


SQL is enough


   
Quote