Skip to content

[permissions] Remove raw queries and restrict its usage #12360

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
merged 13 commits into from
Jun 2, 2025
Merged
Prev Previous commit
Next Next commit
greptile
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
  • Loading branch information
ijreilly and greptile-apps[bot] authored May 28, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a3daec4f1f3943527d2262573fef5c9df6dc2dd7
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ export const fetchTableColumns = async (
): Promise<PostgresTableSchemaColumn[]> => {
const schemaName = workspaceDataSourceService.getSchemaName(workspaceId);

// TO DO: executeRawQuery is deprecated and will throw// executeRawQuery is deprecated
// TODO: executeRawQuery is deprecated and will throw
const res = await workspaceDataSourceService.executeRawQuery(
`SELECT column_name, data_type, udt_name
FROM information_schema.columns