FSharp.ArangoDB
0.1.0-alpha06
Suggested Alternatives
This is a prerelease version of FSharp.ArangoDB.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package FSharp.ArangoDB --version 0.1.0-alpha06
NuGet\Install-Package FSharp.ArangoDB -Version 0.1.0-alpha06
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="FSharp.ArangoDB" Version="0.1.0-alpha06" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FSharp.ArangoDB --version 0.1.0-alpha06
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.ArangoDB, 0.1.0-alpha06"
#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 FSharp.ArangoDB as a Cake Addin
#addin nuget:?package=FSharp.ArangoDB&version=0.1.0-alpha06&prerelease
// Install FSharp.ArangoDB as a Cake Tool
#tool nuget:?package=FSharp.ArangoDB&version=0.1.0-alpha06&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FSharp.ArangoDB
⚠️ This project is in alpha release
FSharp.ArangoDB is a ArangoDB driver for F# focused on consistency and minimalism
Usage
open FSharp.ArangoDB
ArangoDB.SetConfig
(fun config ->
{ config with
Authorization = "Basic S2lsbHVhOlpvbGR5Y2s="
Database = "_system"
Host = "http://127.0.0.1:8529/" })
let collection =
{ ArangoDB.CollectionOptions with
Name = "MyCollection"
KeyOptions =
{ ArangoDB.CollectionKeyOptions with
Type = ArangoDB.CollectionKeyTypeUUID } }
match ArangoDB.CreateCollection collection with
| ArangoDB.OK -> printfn "Success"
| ArangoDB.Conflict -> printfn "Collection already exists"
| _ -> printfn "Unknown error"
match ArangoDB.GetCollection "MyCollection" with
| (ArangoDB.OK, Some collection) -> printfn "Collection ID: %s" collection.ID
| (_, _) -> printfn "Unknown error"
let document =
{| firstName = "Weslen"
lastName = "Guerreiro" |}
let query =
{ ArangoDB.QueryOptions with
Query = "INSERT @document INTO MyCollection"
BindVars = Map([ ("document", box document) ]) }
match ArangoDB.Query query with
| (ArangoDB.Created, _) -> printfn "Success"
| _ -> printfn "Unknown error"
License
This project is distributed under the Apache License 2.0
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Flurl (>= 3.0.1)
- FSharp.Core (>= 5.0.0)
- FSharp.Json (>= 0.4.0)
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 |
---|