Skip to content

Commit cc85b84

Browse files
update readme
1 parent 2530393 commit cc85b84

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ let main argv =
100100
} |> Async.RunSynchronously
101101
```
102102

103-
### Delete
103+
### DeleteItem
104104

105-
```fsharp
105+
```f#
106106
open FSharp.CosmosDb
107107
108108
let connStr = "..."
@@ -116,6 +116,19 @@ let updateUser id partitionKey =
116116
|> Cosmos.execAsync
117117
```
118118

119+
### DeleteContainer
120+
```f#
121+
open FSharp.CosmosDb
122+
123+
let connStr = "..."
124+
125+
connStr
126+
|> Cosmos.container "ContainerName"
127+
|> Cosmos.deleteContainer
128+
|> Cosmos.execAsync
129+
|> Async.Ignore
130+
```
131+
119132
# FSharp.CosmosDb.Analyzer 💡
120133

121134
[![NuGet Badge - FSharp.CosmosDb](https://buildstats.info/nuget/FSharp.CosmosDb)](https://www.nuget.org/packages/FSharp.CosmosDb)

0 commit comments

Comments
 (0)