{"id":13412239,"url":"https://github.com/nakagami/firebirdsql","last_synced_at":"2025-12-24T14:17:23.786Z","repository":{"id":10288138,"uuid":"12406292","full_name":"nakagami/firebirdsql","owner":"nakagami","description":"Firebird RDBMS sql driver for Go (golang)","archived":false,"fork":false,"pushed_at":"2025-05-09T08:55:04.000Z","size":835,"stargazers_count":238,"open_issues_count":14,"forks_count":61,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-05-09T09:39:30.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nakagami.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":"2013-08-27T13:09:14.000Z","updated_at":"2025-05-09T08:55:09.000Z","dependencies_parsed_at":"2024-01-12T05:16:42.450Z","dependency_job_id":"4fa0842c-1bd1-4088-9983-2a42a599717c","html_url":"https://github.com/nakagami/firebirdsql","commit_stats":{"total_commits":625,"total_committers":22,"mean_commits":28.40909090909091,"dds":"0.10399999999999998","last_synced_commit":"76fb721df58366b66d71d42c5a831bd618e35d83"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/nakagami/firebirdsql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakagami%2Ffirebirdsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakagami%2Ffirebirdsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakagami%2Ffirebirdsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakagami%2Ffirebirdsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nakagami","download_url":"https://codeload.github.com/nakagami/firebirdsql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nakagami%2Ffirebirdsql/sbom","scorecard":{"id":673313,"data":{"date":"2025-08-11","repo":{"name":"github.com/nakagami/firebirdsql","commit":"1bbff09fa8799728d42a30b61b2f66c5859deb08"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test_fb25.yml:1","Warn: no topLevel permission defined: .github/workflows/test_fb3.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test_fb25.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nakagami/firebirdsql/test_fb25.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test_fb25.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/nakagami/firebirdsql/test_fb25.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test_fb25.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/nakagami/firebirdsql/test_fb25.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test_fb3.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/nakagami/firebirdsql/test_fb3.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test_fb3.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/nakagami/firebirdsql/test_fb3.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T20:51:07.408Z","repository_id":10288138,"created_at":"2025-08-21T20:51:07.408Z","updated_at":"2025-08-21T20:51:07.408Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28003727,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-07-30T20:01:22.486Z","updated_at":"2025-12-24T14:17:23.771Z","avatar_url":"https://github.com/nakagami.png","language":"Go","funding_links":[],"categories":["Database Drivers","Go","数据库驱动程序","Data Integration Frameworks","Generators","數據庫驅動","\u003cspan id=\"数据库驱动-database-drivers\"\u003e数据库驱动 Database Drivers\u003c/span\u003e","数据库驱动`连接和操作数据库工具`","数据库驱动","Relational Databases"],"sub_categories":["Relational Database Drivers","Advanced Console UIs","关系数据库驱动程序","高級控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","SQL 查询语句构建库","高级控制台界面"],"readme":"# firebirdsql (Go firebird sql driver)\n\nFirebird RDBMS https://firebirdsql.org SQL driver for Go\n\n## Requirements\n\n* Firebird 2.5 or higher\n* Golang 1.20 or higher\n\n## Example\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"database/sql\"\n    _ \"github.com/nakagami/firebirdsql\"\n)\n\nfunc main() {\n    var n int\n    conn, _ := sql.Open(\"firebirdsql\", \"user:password@servername/foo/bar.fdb\")\n    defer conn.Close()\n    conn.QueryRow(\"SELECT Count(*) FROM rdb$relations\").Scan(\u0026n)\n    fmt.Println(\"Relations count=\", n)\n\n}\n```\n\n\nSee also driver_test.go\n\n```go\n   package main\n\n      import (\n       \"fmt\"\n       \"github.com/nakagami/firebirdsql\"\n   )\n\n   func main() {\n       dsn := \"user:password@servername/foo/bar.fdb\"\n       events := []string{\"my_event\", \"order_created\"}\n       fbEvent, _ := firebirdsql.NewFBEvent(dsn)\n       defer fbEvent.Close()\n       sbr, _ := fbEvent.Subscribe(events, func(event firebirdsql.Event) { //or use SubscribeChan\n           fmt.Printf(\"event: %s, count: %d, id: %d, remote id:%d \\n\", event.Name, event.Count, event.ID, event.RemoteID)\n       })\n       defer sbr.Unsubscribe()\n       go func() {\n               fbEvent.PostEvent(events[0])\n               fbEvent.PostEvent(events[1])\n       }()\n       \u003c- make(chan struct{}) //wait\n   }\n```\n\nSee also _example\n\n## Connection string\n\n```bash\nuser:password@servername[:port_number]/database_name_or_file[?params1=value1[\u0026param2=value2]...]\n```\n\n\n### General\n\n- user: login user\n- password: login password\n- servername: Firebird server's host name or IP address.\n- port_number: Port number. default value is 3050.\n- database_name_or_file: Database path (or alias name).\n\n### Optional\n\nparam1, param2... are\n\n| Name | Description | Default | Note |\n| --- | --- | --- | --- |\n| auth_plugin_name | Authentication plugin name. | Srp256 | Srp256/Srp/Legacy_Auth are available. |\n| column_name_to_lower | Force column name to lower | false | For \"github.com/jmoiron/sqlx\" |\n| role | Role name | | |\n| timezone | Time Zone name | | For Firebird 4.0+ |\n| wire_crypt | Enable wire data encryption or not. | true | For Firebird 3.0+ |\n| charset | Firebird Charecter Set | | |\n\n## GORM for Firebird\n\nSee https://github.com/flylink888/gorm-firebird\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakagami%2Ffirebirdsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnakagami%2Ffirebirdsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnakagami%2Ffirebirdsql/lists"}