PolarbearDB 3.0.0

dotnet add package PolarbearDB --version 3.0.0
NuGet\Install-Package PolarbearDB -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PolarbearDB" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PolarbearDB --version 3.0.0
#r "nuget: PolarbearDB, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PolarbearDB as a Cake Addin
#addin nuget:?package=PolarbearDB&version=3.0.0

// Install PolarbearDB as a Cake Tool
#tool nuget:?package=PolarbearDB&version=3.0.0

PolarbearDB

Polarbear is an in memory database designed to be simple and fast to use. The point of it is to be self contained within an application without adding extreme waiting times.

Dependencies

Polarbear only relies upon <a href="https://dotnet.microsoft.com/en-us/">dotnet 7</a> (or higher) to run.

Basic Usage

It is very easy to use Polarbear! you simply import the library into your program:

using Polarbear;

After importing Polarbear you can proceed to create a class in which to store in the database:

/*
    the Enterable object contains
    an "Id" string that must be
    unique to the object. By default
    it is set to be a Guid.
*/

class MyData : Enterable
{
    int myCustomData { get; set; }
    
    pubic MyData(int num)
    {
        myCustomData = num;
    }
}

We can then create our DB and insert an object into it:

PolarbearDB db = new PolarbearDB();

MyData data = new MyData(5);
data.Id = "Hi!";

db.Insert(data);

Now to query the database for our object we can do this:

MyData query = new MyData(100 /*this doesnt matter when querying by id*/);
data.Id = "Hi!";

MyData obj = db.QueryById(query);

Roadmap

  • Implement database wrapper to make scripting possible
  • Add threading in order to increase speed
  • Incorporate compression in order to increase efficiency
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 207 12/5/2023
2.0.4 121 11/20/2023
2.0.3 101 11/12/2023
2.0.2 82 11/12/2023
2.0.1 94 11/11/2023
2.0.0 83 11/11/2023