{"id":15041205,"url":"https://github.com/linksplatform/data.doublets","last_synced_at":"2025-10-09T06:33:11.356Z","repository":{"id":37789376,"uuid":"199508305","full_name":"linksplatform/Data.Doublets","owner":"linksplatform","description":"LinksPlatform's Platform.Data.Doublets Class Library","archived":false,"fork":false,"pushed_at":"2025-09-11T08:50:01.000Z","size":193218,"stargazers_count":14,"open_issues_count":126,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-11T09:40:07.238Z","etag":null,"topics":["associative-model","linksplatform"],"latest_commit_sha":null,"homepage":"https://linksplatform.github.io/Data.Doublets/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linksplatform.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":"konard","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-29T18:41:30.000Z","updated_at":"2025-07-19T15:58:28.000Z","dependencies_parsed_at":"2024-09-20T18:17:09.951Z","dependency_job_id":"9e82fc5c-9c20-451b-aa5c-b4381ab197f7","html_url":"https://github.com/linksplatform/Data.Doublets","commit_stats":{"total_commits":2462,"total_committers":17,"mean_commits":144.8235294117647,"dds":0.4000812347684809,"last_synced_commit":"23f4871b16be7804ff4e32d5abf2387fc8e07916"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/linksplatform/Data.Doublets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2FData.Doublets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2FData.Doublets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2FData.Doublets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2FData.Doublets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linksplatform","download_url":"https://codeload.github.com/linksplatform/Data.Doublets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linksplatform%2FData.Doublets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000833,"owners_count":26082950,"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-10-09T02:00:07.460Z","response_time":59,"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":["associative-model","linksplatform"],"created_at":"2024-09-24T20:45:45.442Z","updated_at":"2025-10-09T06:33:11.332Z","avatar_url":"https://github.com/linksplatform.png","language":"C#","funding_links":["https://patreon.com/konard"],"categories":[],"sub_categories":[],"readme":"[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/linksplatform/Data.Doublets)\n\n[![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Data.Doublets?label=nuget\u0026style=flat)](https://www.nuget.org/packages/Platform.Data.Doublets)\n[![Actions Status](https://github.com/linksplatform/Data.Doublets/workflows/csharp/badge.svg)](https://github.com/linksplatform/Data.Doublets/actions?workflow=csharp)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d92f59d08c604e95ba2469ee8e9d88c1)](https://app.codacy.com/gh/linksplatform/Data.Doublets?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=linksplatform/Data.Doublets\u0026utm_campaign=Badge_Grade_Settings)\n[![CodeFactor](https://www.codefactor.io/repository/github/linksplatform/data.doublets/badge/master)](https://www.codefactor.io/repository/github/linksplatform/data.doublets/overview/master)\n\n# [Data.Doublets](https://github.com/linksplatform/Data.Doublets) ([русская версия](README.ru.md))\nLinksPlatform's Platform.Data.Doublets Class Library.\n\nNamespace: [Platform.Data.Doublets](https://linksplatform.github.io/Data.Doublets/csharp/api/Platform.Data.Doublets.html)\n\nForked from: [Konard/LinksPlatform/Platform/Platform.Data.Doublets](https://github.com/Konard/LinksPlatform/tree/b0844d778ced60b22435e57342393031b26a2822/Platform/Platform.Data.Doublets)\n\nNuGet package: [Platform.Data.Doublets](https://www.nuget.org/packages/Platform.Data.Doublets)\n\n## [Example](https://github.com/linksplatform/Examples.Doublets.CRUD.DotNet) | [Run .NET fiddle](https://dotnetfiddle.net/Y7Zvt0)\n```C#\nusing System;\nusing Platform.Data;\nusing Platform.Data.Doublets;\nusing Platform.Data.Doublets.Memory.United.Generic;\n\n// A doublet links store is mapped to \"db.links\" file:\nusing var links = new UnitedMemoryLinks\u003cuint\u003e(\"db.links\");\n\n// A creation of the doublet link: \nvar link = links.Create();\n\n// The link is updated to reference itself twice (as a source and a target):\nlink = links.Update(link, newSource: link, newTarget: link);\n\n// Read operations:\nConsole.WriteLine($\"The number of links in the data store is {links.Count()}.\");\nConsole.WriteLine(\"Data store contents:\");\nvar any = links.Constants.Any; // Means any link address or no restriction on link address\n// Arguments of the query are interpreted as restrictions\nvar query = new Link\u003cuint\u003e(index: any, source: any, target: any);\nlinks.Each((link) =\u003e {\n    Console.WriteLine(links.Format(link));\n    return links.Constants.Continue;\n}, query);\n\n// The link's content reset:\nlink = links.Update(link, newSource: default, newTarget: default);\n\n// The link deletion:\nlinks.Delete(link);\n```\n\n## [SQLite vs Doublets](https://github.com/linksplatform/Comparisons.SQLiteVSDoublets)\n\n[![Image with result of performance comparison between SQLite and Doublets.](https://raw.githubusercontent.com/linksplatform/Documentation/master/doc/Examples/sqlite_vs_doublets_performance.png \"Result of performance comparison between SQLite and Doublets\")](https://github.com/linksplatform/Comparisons.SQLiteVSDoublets)\n\n## [Documentation](https://linksplatform.github.io/Data.Doublets)\n*   Interface [ILinks\\\u003cTLink, TConstants\\\u003e](https://linksplatform.github.io/Data/csharp/api/Platform.Data.ILinks-2.html).\n*   Interface [ILinks\\\u003cTLink\\\u003e](https://linksplatform.github.io/Data.Doublets/csharp/api/Platform.Data.Doublets.ILinks-1.html).\n*   Class [UnitedMemoryLinks\\\u003cTLink\\\u003e](https://linksplatform.github.io/Data.Doublets/csharp/api/Platform.Data.Doublets.Memory.United.Generic.UnitedMemoryLinks-1.html).\n\n[PDF file](https://linksplatform.github.io/Data.Doublets/csharp/Platform.Data.Doublets.pdf) with code for e-readers.\n\n## Dependency graph [C#]\n[![C# dependency graph SVG image](https://raw.github.com/linksplatform/Documentation/master/doc/Dependencies/Platform.Data.Doublets.svg?sanitize=true)](https://raw.githubusercontent.com/linksplatform/Documentation/master/doc/Dependencies/Platform.Data.Doublets.svg?sanitize=true)\n\n## Dependency graph [C++]\n[![C++ dependency graph SVG image](https://raw.github.com/linksplatform/Documentation/master/doc/Dependencies/Platform.Data.Doublets.cpp.svg?sanitize=true)](https://raw.githubusercontent.com/linksplatform/Documentation/master/doc/Dependencies/Platform.Data.Doublets.cpp.svg?sanitize=true)\n\n## Depend on\n*   [Platform.Random](https://github.com/linksplatform/Random)\n*   [Platform.Timestamps](https://github.com/linksplatform/Timestamps)\n*   [Platform.Incrementers](https://github.com/linksplatform/Incrementers)\n*   [Platform.Collections.Methods](https://github.com/linksplatform/Collections.Methods)\n*   [Platform.Singletons](https://github.com/linksplatform/Singletons)\n*   [Platform.Memory](https://github.com/linksplatform/Memory)\n*   [Platform.Data](https://github.com/linksplatform/Data)\n\n## Support\n\nAsk questions at [stackoverflow.com/tags/links-platform](https://stackoverflow.com/tags/links-platform) (or with tag `links-platform`) to get our free support.\n\nYou can also get real-time support on [our official Discord server](https://discord.gg/eEXJyjWv5e).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinksplatform%2Fdata.doublets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinksplatform%2Fdata.doublets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinksplatform%2Fdata.doublets/lists"}