{"id":15394812,"url":"https://github.com/mhmd-azeez/sqlvalidator","last_synced_at":"2025-04-15T23:53:42.271Z","repository":{"id":111221239,"uuid":"244200162","full_name":"mhmd-azeez/SqlValidator","owner":"mhmd-azeez","description":"A roslyn analyzer to validate your SQL queries","archived":false,"fork":false,"pushed_at":"2024-01-16T20:03:13.000Z","size":28,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T22:43:51.570Z","etag":null,"topics":["roslyn-analyzer","sql-queries"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhmd-azeez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-01T18:16:21.000Z","updated_at":"2021-01-20T21:11:52.000Z","dependencies_parsed_at":"2024-10-19T02:25:21.111Z","dependency_job_id":null,"html_url":"https://github.com/mhmd-azeez/SqlValidator","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"030780c206d60582ca613ed05a0a4543d7bac7cb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmd-azeez%2FSqlValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmd-azeez%2FSqlValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmd-azeez%2FSqlValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhmd-azeez%2FSqlValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhmd-azeez","download_url":"https://codeload.github.com/mhmd-azeez/SqlValidator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["roslyn-analyzer","sql-queries"],"created_at":"2024-10-01T15:24:36.980Z","updated_at":"2025-04-15T23:53:42.252Z","avatar_url":"https://github.com/mhmd-azeez.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SqlValidator\nA roslyn analyzer to validate your SQL queries\n\nNote: This project is just a proof of concept. It needs a lot more work in order to work properly.\n\nDemo: https://youtu.be/yrTwGXqbsTs and https://youtu.be/zLTDqnNY2K4\n\n## How to use\n1. Set `SqlAnalyzer_ConnectionString` to a proper connection string.\n2. Write some code:\n```csharp\nvar connectionString = \"...\";\nusing (var connection = new SqlConnection(connectionString))\n{\n    await connection.OpenAsync();\n\n    using (var command = new SqlCommand(@\"SELECT * FROM PEOPLE WHERE Name LIKE @prsonName\", connection))\n    {\n        command.Parameters.AddWithValue(\"personName\", \"%Muhammad%\");\n\n        // rest of the code\n    }\n}\n```\n3. Notice how it tells you that you have to declare `@prsonName` before using it.\n4. Change `@prsonName` to `@personName` and now the warning goes away!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmd-azeez%2Fsqlvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhmd-azeez%2Fsqlvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhmd-azeez%2Fsqlvalidator/lists"}