{"id":37215852,"url":"https://github.com/tinh-tinh/sqlorm","last_synced_at":"2026-01-15T00:57:32.348Z","repository":{"id":256808098,"uuid":"852291135","full_name":"tinh-tinh/sqlorm","owner":"tinh-tinh","description":"⛓ SQL Gorm Module for Tinh Tinh Framework","archived":false,"fork":false,"pushed_at":"2025-09-13T03:33:15.000Z","size":113,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-13T05:43:32.189Z","etag":null,"topics":["framework","gorm","sql"],"latest_commit_sha":null,"homepage":"https://tinh-tinh.github.io/docs/docs/intergrations/sql","language":"Go","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/tinh-tinh.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-04T14:58:58.000Z","updated_at":"2025-09-13T03:33:19.000Z","dependencies_parsed_at":"2024-09-13T06:22:10.181Z","dependency_job_id":"3b8e0379-4d62-4836-8871-52b2b6738e5e","html_url":"https://github.com/tinh-tinh/sqlorm","commit_stats":null,"previous_names":["tinh-tinh/sqlorm"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/tinh-tinh/sqlorm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinh-tinh%2Fsqlorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinh-tinh%2Fsqlorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinh-tinh%2Fsqlorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinh-tinh%2Fsqlorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinh-tinh","download_url":"https://codeload.github.com/tinh-tinh/sqlorm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinh-tinh%2Fsqlorm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28440981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: 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":["framework","gorm","sql"],"created_at":"2026-01-15T00:57:31.726Z","updated_at":"2026-01-15T00:57:32.341Z","avatar_url":"https://github.com/tinh-tinh.png","language":"Go","readme":"# SQL GORM for Tinh Tinh\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/tinh-tinh/sqlorm\"\u003e\n\u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/tinh-tinh/sqlorm\"\u003e\n\u003ca href=\"https://codecov.io/gh/tinh-tinh/sqlorm\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/tinh-tinh/sqlorm/graph/badge.svg?token=TS4B5QAO3T\"/\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pkg.go.dev/github.com/tinh-tinh/sqlorm\"\u003e\u003cimg src=\"https://pkg.go.dev/badge/github.com/tinh-tinh/sqlorm.svg\" alt=\"Go Reference\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/178628733?s=400\u0026u=2a8230486a43595a03a6f9f204e54a0046ce0cc4\u0026v=4\" width=\"200\" alt=\"Tinh Tinh Logo\"\u003e\n\u003c/div\u003e\n\n## Overview\n\nSQL GORM for Tinh Tinh is a powerful database toolkit designed to work seamlessly with the Tinh Tinh framework. It provides an elegant and efficient way to interact with SQL databases using GORM, the fantastic ORM library for Golang.\n\n## Features\n\n- 🚀 Full GORM integration with Tinh Tinh\n- 📦 Easy-to-use database operations\n- 🔄 Auto Migration support\n- 🎯 Type-safe query building\n- 🛠️ Advanced features like:\n  - Associations handling\n  - Hooks\n  - Transactions\n  - Custom data types\n  - And more!\n\n## Installation\n\nTo install the package, use:\n\n```bash\ngo get -u github.com/tinh-tinh/sqlorm/v2\n```\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n    \"github.com/tinh-tinh/sqlorm/v2\"\n)\n\n// User represents your database model\ntype User struct {\n    ID    uint   `gorm:\"primarykey\"`\n    Name  string\n    Email string\n}\n\nfunc main() {\n    // Initialize your database connection\n    db := sqlorm.New(\u0026sqlorm.Config{\n        Driver:   \"postgres\",\n        Host:     \"localhost\",\n        Port:     5432,\n        Database: \"mydb\",\n        Username: \"user\",\n        Password: \"password\",\n    })\n\n    // Auto migrate your models\n    db.AutoMigrate(\u0026User{})\n\n    // Create a new user\n    user := User{\n        Name:  \"John Doe\",\n        Email: \"john@example.com\",\n    }\n    db.Create(\u0026user)\n}\n```\n\n## Configuration\n\nThe package supports various database configurations:\n\n```go\ntype Config struct {\n    Driver   string // \"postgres\", \"mysql\", \"sqlite\"\n    Host     string\n    Port     int\n    Database string\n    Username string\n    Password string\n    SSLMode  string\n    TimeZone string\n}\n```\n\n## Supported Databases\n\n- PostgreSQL\n- MySQL\n- SQLite\n- Microsoft SQL Server\n\n## Documentation\n\nFor detailed documentation and examples, please visit:\n- [Go Package Documentation](https://pkg.go.dev/github.com/tinh-tinh/sqlorm)\n- [GORM Official Documentation](https://gorm.io/docs/)\n\n## Contributing\n\nWe welcome contributions! Here's how you can help:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Support\n\nIf you encounter any issues or need help, you can:\n- Open an issue in the GitHub repository\n- Check our documentation\n- Join our community discussions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinh-tinh%2Fsqlorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinh-tinh%2Fsqlorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinh-tinh%2Fsqlorm/lists"}