{"id":3517147,"name":"github.com/datatogether/sql_datastore","ecosystem":"go","description":"sql_datastore is an experimental implementation of the ipfs datastore\ninterface for sql databases. It's very much a work in progress,\nborn out of a somewhat special use case of needing to be able to store\ndata in a number of different places, with the datastore interface as\na lowest-common-denominator.\n\nThe goal is not a fully-expressive sql database operated through\nthe datastore interface, this is not possible, or even desired.\nInstead, this package focuses on doing the kinds of things one\nwould want to do with a key-value datastore, requiring implementers\nto provide a standard set of queries and parameters to glue everything\ntogether. Whenever the datastore interface is not expressive enough,\none can always fall back to standard SQL work.\n\nsql_datastore reconciles the key-value orientation of the datastore\ninterface with the tables/relational orientation of SQL databases\nthrough the concept of a \"Model\". Model is a bit of an unfortunate name,\nas it implies this package is an ORM, which isn't a design goal.\n\nAnnnnnnnnyway, the important patterns of this approach are:\n\nThis implementation leads to a great deal of required boilerplate code\nto implement. In the future this package could be expanded to become\nsyntax-aware, accepting a table name \u0026 schema definition for registered\nmodels. From here the sql_datastore package could construct default queries\nthat could be overridden using the current SQLQuery \u0026 SQLParams methods.\nBefore that happens, it's worth noting that the datastore interface may\nundergo changes in the near future.","homepage":"https://github.com/datatogether/sql_datastore","licenses":"AGPL-3.0","normalized_licenses":["AGPL-3.0"],"repository_url":"https://github.com/datatogether/sql_datastore","keywords_array":[],"namespace":"github.com/datatogether","versions_count":1,"first_release_published_at":"2017-11-04T16:09:58.000Z","latest_release_published_at":"2017-11-04T16:09:58.000Z","latest_release_number":"v0.0.0-20171104160958-e90e848e5f78","last_synced_at":"2026-04-10T21:31:24.319Z","created_at":"2022-04-10T21:45:18.499Z","updated_at":"2026-04-10T21:31:24.320Z","registry_url":"https://pkg.go.dev/github.com/datatogether/sql_datastore","install_command":"go get github.com/datatogether/sql_datastore","documentation_url":"https://pkg.go.dev/github.com/datatogether/sql_datastore#section-documentation","metadata":{},"repo_metadata":{"uuid":"93970319","full_name":"datatogether/sql_datastore","owner":"datatogether","description":"Experimental Golang implementation of the ipfs datastore interface for sql databases.","archived":true,"fork":false,"pushed_at":"2017-11-04T16:10:02.000Z","size":34,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-03-01T20:15:35.926Z","etag":null,"topics":["datastore-interface","golang","ipfs","package","sql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-10T23:13:41.000Z","updated_at":"2023-01-28T16:43:22.000Z","dependencies_parsed_at":"2022-08-29T11:21:32.641Z","dependency_job_id":null,"html_url":"https://github.com/datatogether/sql_datastore","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatogether%2Fsql_datastore","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatogether%2Fsql_datastore/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datatogether%2Fsql_datastore/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datatogether","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"}},"repo_metadata_updated_at":"2025-10-07T12:21:16.957Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":2,"rankings":{"downloads":null,"dependent_repos_count":3.521297461514688,"dependent_packages_count":9.563102579692522,"stargazers_count":13.321846486984379,"forks_count":13.295384994515805,"docker_downloads_count":null,"average":9.925407880676849},"purl":"pkg:golang/github.com/datatogether/sql_datastore","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/datatogether/sql_datastore","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/datatogether/sql_datastore","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/datatogether/sql_datastore/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-06-03T19:36:25.157Z","issues_count":4,"pull_requests_count":3,"avg_time_to_close_issue":70324.0,"avg_time_to_close_pull_request":433431.0,"issues_closed_count":1,"pull_requests_closed_count":3,"pull_request_authors_count":3,"issue_authors_count":4,"avg_comments_per_issue":0.75,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdatatogether%2Fsql_datastore/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdatatogether%2Fsql_datastore/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdatatogether%2Fsql_datastore/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdatatogether%2Fsql_datastore/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fdatatogether%2Fsql_datastore/codemeta","maintainers":[]}