{"id":24201556,"url":"https://github.com/mstgnz/sqlmapper","last_synced_at":"2026-02-10T22:32:38.249Z","repository":{"id":218724075,"uuid":"747187434","full_name":"mstgnz/sqlmapper","owner":"mstgnz","description":"SQL parser and converter library written in Go, designed to handle large-scale database schema migrations and transformations.","archived":false,"fork":false,"pushed_at":"2024-12-29T15:24:54.000Z","size":2296,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T19:30:13.502Z","etag":null,"topics":["converter","dump","go","sql","sqlmapper","sqlporter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mstgnz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"mstgnz"}},"created_at":"2024-01-23T12:50:27.000Z","updated_at":"2025-07-29T18:44:13.000Z","dependencies_parsed_at":"2024-06-02T22:48:43.411Z","dependency_job_id":"50ca9153-326f-4eac-a31e-f88f7a21ab26","html_url":"https://github.com/mstgnz/sqlmapper","commit_stats":null,"previous_names":["mstgnz/gosql","mstgnz/sdc","mstgnz/sqlporter","mstgnz/sqlmapper"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mstgnz/sqlmapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstgnz%2Fsqlmapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstgnz%2Fsqlmapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstgnz%2Fsqlmapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstgnz%2Fsqlmapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mstgnz","download_url":"https://codeload.github.com/mstgnz/sqlmapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstgnz%2Fsqlmapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29319689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["converter","dump","go","sql","sqlmapper","sqlporter"],"created_at":"2025-01-13T21:16:21.052Z","updated_at":"2026-02-10T22:32:38.222Z","avatar_url":"https://github.com/mstgnz.png","language":"Go","readme":"# SQLMapper\n\nSQLMapper is a powerful SQL schema parser and generator that supports multiple database systems. It can parse SQL dump files and generate schema definitions in a standardized format.\n\n## Features\n\n- Multi-database support:\n  - MySQL\n  - PostgreSQL\n  - SQLite\n  - SQL Server\n  - Oracle\n- Schema parsing and generation\n- Support for various SQL objects:\n  - Tables\n  - Views\n  - Functions\n  - Procedures\n  - Triggers\n  - Indexes\n  - Sequences\n\n## Development Status\n\n- Basic schema parsing and generation is implemented\n- Stream processing feature is under development\n  - Basic stream parsing functionality is implemented\n  - Tests for stream processing are pending\n  - Parallel stream processing is planned\n- Documentation will be updated as features are completed\n\n## Installation\n\n```bash\ngo get github.com/mstgnz/sqlmapper\n```\n\n## Usage\n\n### Basic Usage\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/mstgnz/sqlmapper\"\n)\n\nfunc main() {\n    // Create a new parser for your database type\n    parser := sqlmapper.NewParser(sqlmapper.MySQL)\n    \n    // Parse SQL content\n    schema, err := parser.Parse(sqlContent)\n    if err != nil {\n        panic(err)\n    }\n    \n    // Generate SQL from schema\n    sql, err := parser.Generate(schema)\n    if err != nil {\n        panic(err)\n    }\n}\n```\n\n## Supported SQL Objects\n\n- Tables\n  - Columns with data types\n  - Primary keys\n  - Foreign keys\n  - Unique constraints\n  - Check constraints\n- Views\n- Functions\n- Procedures\n- Triggers\n- Indexes\n- Sequences\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.","funding_links":["https://github.com/sponsors/mstgnz"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstgnz%2Fsqlmapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmstgnz%2Fsqlmapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstgnz%2Fsqlmapper/lists"}