F# can upcast types to `obj` if those types are used in place. However, a `string seq` (`IEnumerable<string>` in C#) cannot be upcast to an `obj seq` (`IEnumerable<object>`) without mapping each item in the sequence. Making the `Field` constructor functions generic will allow them to take any object type, and these functions handle the conversion to `obj` (for `In` and `InArray`; others work transparently). Reviewed-on: #8
BitBadger.Documents
This library provides a lightweight document storage implementation backed by either PostgreSQL or SQLite. Both of these databases have great support for storing, retrieving, and manipulating JSON fields; this library leverages that, and provides a straightforward way to store documents.
NuGet Packages
PostgreSQL | SQLite |
---|---|
More Information
See the project site for a full description and documentation.
Description
Functions and methods to use relational databases as document stores
https://relationaldocs.bitbadger.solutions/dotnet/
Readme
MIT
4 MiB
Version 4.1
Latest
Languages
F#
65.2%
C#
34.7%
Shell
0.1%