FSharp.ArangoDB
0.1.0-alpha03
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-alpha03
NuGet\Install-Package FSharp.ArangoDB -Version 0.1.0-alpha03
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-alpha03" />
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-alpha03
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.ArangoDB, 0.1.0-alpha03"
#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-alpha03&prerelease
// Install FSharp.ArangoDB as a Cake Tool
#tool nuget:?package=FSharp.ArangoDB&version=0.1.0-alpha03&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 minimalist
Usage
open FSharp.ArangoDB
ArangoDB.setConfig
(fun config ->
{ config with
Authorization = "Basic S2lsbHVhOlpvbGR5Y2s="
Database = "_system"
Host = "http://127.0.0.1:8529/" })
let collectionOptions =
{ ArangoDB.CollectionOptions with
Name = "MyCollection"
KeyOptions =
{ ArangoDB.CollectionKeyOptions with
Type = ArangoDB.CollectionKeyTypeUUID } }
match ArangoDB.createCollection collectionOptions 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 queryOptions =
{ ArangoDB.QueryOptions with
Query = @"INSERT @document INTO MyCollection"
BindVars = Map([ ("document", box document) ]) }
match ArangoDB.Query queryOptions with
| (ArangoDB.Created, _) -> printfn "Success"
| _ -> printfn "Unknown error"
License
This project is distributed under the MIT license
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)
- Newtonsoft.Json (>= 13.0.1)
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 |
---|