{"id":13479345,"url":"https://github.com/fannheyward/coc-sql","last_synced_at":"2025-04-04T00:07:48.292Z","repository":{"id":38899482,"uuid":"198543026","full_name":"fannheyward/coc-sql","owner":"fannheyward","description":"SQL extension for coc.nvim","archived":false,"fork":false,"pushed_at":"2024-10-01T23:42:52.000Z","size":1158,"stargazers_count":121,"open_issues_count":5,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-12T18:47:42.365Z","etag":null,"topics":["coc","coc-nvim","sql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fannheyward.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-07-24T02:28:04.000Z","updated_at":"2024-10-04T10:36:28.000Z","dependencies_parsed_at":"2023-02-17T13:16:10.223Z","dependency_job_id":"d67c49fa-2101-414e-8065-2235686e48dc","html_url":"https://github.com/fannheyward/coc-sql","commit_stats":{"total_commits":596,"total_committers":8,"mean_commits":74.5,"dds":0.3691275167785235,"last_synced_commit":"b8fba383b298b8bc69621c920750fa71b15fb717"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fannheyward%2Fcoc-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fannheyward%2Fcoc-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fannheyward%2Fcoc-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fannheyward%2Fcoc-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fannheyward","download_url":"https://codeload.github.com/fannheyward/coc-sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097993,"owners_count":20883128,"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":["coc","coc-nvim","sql"],"created_at":"2024-07-31T16:02:13.975Z","updated_at":"2025-04-04T00:07:48.270Z","avatar_url":"https://github.com/fannheyward.png","language":"TypeScript","readme":"# coc-sql\n\nSQL extension for coc.nvim\n\n## Features\n\n- Format by [sql-formatter](https://github.com/zeroturnaround/sql-formatter)\n- Lint by [node-sql-parser](https://github.com/taozhi8833998/node-sql-parser)\n\n## Install\n\n`:CocInstall coc-sql`\n\n## Commands\n\n- `sql.Format` for current file\n\n## Configuration\n\n- `sql.lintOnOpen`: Lint sql file on opening, default `true`\n- `sql.lintOnChange`: Lint sql file on change, default `true`\n- `sql.lintOnSave`: Lint sql file on save, default `true`\n- `sql.database`: Choose the database syntax flavor, default to `guess`, valid values: `db2`, `hive`, `mysql`, `mariadb`, `bigquery`, `postgresql`, `transactsql`\n- `sql.formatOptions`: Format options passed to `sql-formatter`, checkout \u003chttps://github.com/zeroturnaround/sql-formatter\u003e\n\n## Usage\n\n### Format document\n\n- `:call CocAction('format')`\n- `:CocCommand sql.Format`\n\n### Format selected content\n\n```vim\nxmap \u003cleader\u003ef  \u003cPlug\u003e(coc-format-selected)\nnmap \u003cleader\u003ef  \u003cPlug\u003e(coc-format-selected)\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":["TypeScript","Language Support"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffannheyward%2Fcoc-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffannheyward%2Fcoc-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffannheyward%2Fcoc-sql/lists"}