Platform.Data.Doublets
0.18.1
dotnet add package Platform.Data.Doublets --version 0.18.1
NuGet\Install-Package Platform.Data.Doublets -Version 0.18.1
<PackageReference Include="Platform.Data.Doublets" Version="0.18.1" />
paket add Platform.Data.Doublets --version 0.18.1
#r "nuget: Platform.Data.Doublets, 0.18.1"
// Install Platform.Data.Doublets as a Cake Addin #addin nuget:?package=Platform.Data.Doublets&version=0.18.1 // Install Platform.Data.Doublets as a Cake Tool #tool nuget:?package=Platform.Data.Doublets&version=0.18.1
Data.Doublets (русская версия)
LinksPlatform's Platform.Data.Doublets Class Library.
Namespace: Platform.Data.Doublets
Forked from: Konard/LinksPlatform/Platform/Platform.Data.Doublets
NuGet package: Platform.Data.Doublets
Example | Run .NET fiddle
using System;
using Platform.Data;
using Platform.Data.Doublets;
using Platform.Data.Doublets.Memory.United.Generic;
// A doublet links store is mapped to "db.links" file:
using var links = new UnitedMemoryLinks<uint>("db.links");
// A creation of the doublet link:
var link = links.Create();
// The link is updated to reference itself twice (as a source and a target):
link = links.Update(link, newSource: link, newTarget: link);
// Read operations:
Console.WriteLine($"The number of links in the data store is {links.Count()}.");
Console.WriteLine("Data store contents:");
var any = links.Constants.Any; // Means any link address or no restriction on link address
// Arguments of the query are interpreted as restrictions
var query = new Link<uint>(index: any, source: any, target: any);
links.Each((link) => {
Console.WriteLine(links.Format(link));
return links.Constants.Continue;
}, query);
// The link's content reset:
link = links.Update(link, newSource: default, newTarget: default);
// The link deletion:
links.Delete(link);
SQLite vs Doublets
Documentation
- Interface ILinks<TLink, TConstants>.
- Interface ILinks<TLink>.
- Class UnitedMemoryLinks<TLink>.
PDF file with code for e-readers.
Dependency graph [C#]
Dependency graph [C++]
Depend on
- Platform.Random
- Platform.Timestamps
- Platform.Incrementers
- Platform.Collections.Methods
- Platform.Singletons
- Platform.Memory
- Platform.Data
Support
Ask questions at stackoverflow.com/tags/links-platform (or with tag links-platform
) to get our free support.
You can also get real-time support on our official Discord server.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Platform.Collections.Methods (>= 0.7.3)
- Platform.Data (>= 0.16.1)
- Platform.Data.Doublets.FFI (>= 0.9.0)
- Platform.Memory (>= 0.4.1)
- Platform.Random (>= 0.3.0)
- Platform.Singletons (>= 0.3.0)
- Platform.Timestamps (>= 0.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Platform.Data.Doublets:
Package | Downloads |
---|---|
Platform.Data.Doublets.Sequences
LinksPlatform's Platform.Data.Doublets.Sequences Class Library |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.18.1 | 92 | 1/26/2025 |
0.17.2 | 521 | 3/24/2023 |
0.17.1 | 400 | 2/19/2023 |
0.17.0 | 454 | 1/14/2023 |
0.16.0 | 312 | 1/7/2023 |
0.15.0 | 332 | 12/15/2022 |
0.13.4 | 2,158 | 4/7/2022 |
0.13.3 | 508 | 3/31/2022 |
0.13.2 | 513 | 2/22/2022 |
0.13.1 | 914 | 2/20/2022 |
0.13.0 | 487 | 2/2/2022 |
0.12.0 | 493 | 2/2/2022 |
0.11.1 | 460 | 1/30/2022 |
0.11.0 | 460 | 1/30/2022 |
0.10.1 | 441 | 1/30/2022 |
0.10.0 | 442 | 1/25/2022 |
0.9.0 | 449 | 1/25/2022 |
0.8.0 | 474 | 1/19/2022 |
0.7.0 | 1,171 | 8/14/2021 |
0.6.11 | 778 | 8/8/2021 |
0.6.10 | 689 | 7/18/2021 |
0.6.9 | 332 | 7/17/2021 |
0.6.8 | 385 | 7/2/2021 |
0.6.7 | 1,138 | 12/25/2020 |
0.6.6 | 642 | 3/24/2020 |
0.6.5 | 589 | 3/21/2020 |
0.6.4 | 571 | 3/21/2020 |
0.6.3 | 494 | 3/21/2020 |
0.6.2 | 491 | 3/21/2020 |
0.6.1 | 547 | 3/20/2020 |
0.6.0 | 523 | 3/20/2020 |
0.5.0 | 558 | 2/24/2020 |
0.4.0 | 575 | 11/10/2019 |
0.3.0 | 544 | 11/8/2019 |
0.2.1 | 620 | 9/22/2019 |
0.2.0 | 566 | 9/16/2019 |
0.1.1 | 556 | 8/20/2019 |
0.1.0 | 547 | 8/18/2019 |
0.0.1 | 577 | 7/29/2019 |
Update to use only .NET 8.
README.md is added to NuGet.