FSharpCouch和MongoFS——NoSQL的輔助庫介紹
I've been working on a few new libraries lately that focus on providing functional wrappers around various NoSQL options.
FSharpCouch
FSharpCouch is something that I wrote about a little over two years ago. At the time, it was more of an educational exercise, but I have since revised it and found aspects of it to be useful. This is now available on NuGet as package ID FSharpCouch. Here's an example:
FirstName : string
LastName : string
}
let couchUrl = "http://localhost:5984"
let databaseName = "people"
let result = { FirstName = "John"; LastName = "Doe" }
|> createDocument couchUrl databaseName
let createdPerson = getDocument couchUrl databaseName result.idYou can find additional examples and the full source at https://github.com/dmohl/FSharpCouch.
FSharpCouch
FSharpCouch is something that I wrote about a little over two years ago. At the time, it was more of an educational exercise, but I have since revised it and found aspects of it to be useful. This is now available on NuGet as package ID FSharpCouch. Here's an example:
CODE:
type Person = {FirstName : string
LastName : string
}
let couchUrl = "http://localhost:5984"
let databaseName = "people"
let result = { FirstName = "John"; LastName = "Doe" }
|> createDocument couchUrl databaseName
let createdPerson = getDocument
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-735444/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關係型資料庫和NOSQL資料庫的優缺點介紹資料庫SQL
- 【NoSQL】redis基本介紹SQLRedis
- redis-1.Nosql的介紹RedisSQL
- Nosql大家族介紹SQL
- NoSQL資料庫的四大分類介紹SQL資料庫
- 12款免費與開源的NoSQL資料庫介紹SQL資料庫
- redis(1)NoSQL資料庫簡介RedisSQL資料庫
- boost庫的介紹
- iOS中的動態庫,靜態庫和framework介紹iOSFramework
- python 標準庫和第3方庫的介紹Python
- 【Unity 3D遊戲開發】在Unity使用NoSQL資料庫方法介紹Unity3D遊戲開發SQL資料庫
- Guava庫介紹Guava
- 排名前十的SQL和NoSQL資料庫SQL資料庫
- LayerMask 的介紹和使用
- 資料庫介紹資料庫
- [轉]Oracle資料庫ASH和AWR的簡單介紹Oracle資料庫
- Python NLP庫top6的介紹和比較Python
- Python NLP庫 Top6的介紹和比較Python
- JavaScript 即未來:介紹 14 個 JavaScript 的框架和庫JavaScript框架
- Memcache客戶端庫libmemcached介紹和部署客戶端IBM
- Oracle NOSQL DATABASE簡介OracleSQLDatabase
- NoSQL資料庫概念與NoSQL資料庫家族SQL資料庫
- Java中的AI庫大全介紹JavaAI
- web worker的介紹和使用Web
- HTTPS 和HTTP的介紹HTTP
- XML和JSON的介紹XMLJSON
- less的介紹和應用
- spam和saint的用法介紹AI
- HTTP介紹和HTML簡介HTTPHTML
- XCharts 開源庫介紹
- IndexedDB資料庫介紹Index資料庫
- cuda函式庫介紹函式
- 最受歡迎的 NoSQL 和關係型資料庫SQL資料庫
- C++各大有名庫的介紹——其他庫C++
- HSQL 資料庫介紹(1)--簡介SQL資料庫
- NoSql資料庫SQL資料庫
- Redis介紹和使用Redis
- Lombok介紹和配置Lombok