@@ -43,6 +43,7 @@ const value = await brine.get("key");
4343### Methods
4444
4545- [ clear] ( Brine.md#clear )
46+ - [ close] ( Brine.md#close )
4647- [ count] ( Brine.md#count )
4748- [ delete] ( Brine.md#delete )
4849- [ deleteMany] ( Brine.md#deletemany )
@@ -80,7 +81,7 @@ Create a new Brine instance
8081
8182#### Defined in
8283
83- [ index.ts:50] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L50 )
84+ [ index.ts:50] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L50 )
8485
8586## Properties
8687
@@ -90,7 +91,7 @@ Create a new Brine instance
9091
9192#### Defined in
9293
93- [ index.ts:37] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L37 )
94+ [ index.ts:37] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L37 )
9495
9596___
9697
114115
115116#### Defined in
116117
117- [ index.ts:41] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L41 )
118+ [ index.ts:41] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L41 )
118119
119120___
120121
124125
125126#### Defined in
126127
127- [ index.ts:39] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L39 )
128+ [ index.ts:39] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L39 )
128129
129130___
130131
148149
149150#### Defined in
150151
151- [ index.ts:42] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L42 )
152+ [ index.ts:42] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L42 )
152153
153154## Accessors
154155
162163
163164#### Defined in
164165
165- [ index.ts:62] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L62 )
166+ [ index.ts:62] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L62 )
166167
167168## Methods
168169
@@ -186,7 +187,31 @@ await brinedb.clear();
186187
187188#### Defined in
188189
189- [ index.ts:136] ( https://github.com/dan-online/brinedb/blob/1f98f0b/src/index.ts#L136 )
190+ [ index.ts:136] ( https://github.com/dan-online/brinedb/blob/ab25ca8/src/index.ts#L136 )
191+
192+ ___
193+
194+ ### close
195+
196+ ▸ ** close** (): ` Promise ` \< ` void ` \>
197+
198+ Close the connection to the database
199+
200+ #### Returns
201+
202+ ` Promise ` \< ` void ` \>
203+
204+ Promise<void >
205+
206+ ** ` Example ` **
207+
208+ ``` ts
209+ await brinedb .close ();
210+ ```
211+
212+ #### Defined in
213+
214+ [ index.ts:240] ( https://github.com/dan-online/brinedb/blob/ab25ca8/src/index.ts#L240 )
190215
191216___
192217
@@ -210,7 +235,7 @@ const count = await brinedb.count();
210235
211236#### Defined in
212237
213- [ index.ts:180] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L180 )
238+ [ index.ts:180] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L180 )
214239
215240___
216241
@@ -240,7 +265,7 @@ await brinedb.delete("key");
240265
241266#### Defined in
242267
243- [ index.ts:151] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L151 )
268+ [ index.ts:151] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L151 )
244269
245270___
246271
@@ -270,7 +295,7 @@ await brinedb.deleteMany(["key1", "key2"]);
270295
271296#### Defined in
272297
273- [ index.ts:166] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L166 )
298+ [ index.ts:166] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L166 )
274299
275300___
276301
@@ -307,7 +332,7 @@ changed === "value"; // true
307332
308333#### Defined in
309334
310- [ index.ts:204] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L204 )
335+ [ index.ts:204] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L204 )
311336
312337___
313338
@@ -337,7 +362,7 @@ const value = await brinedb.get("key");
337362
338363#### Defined in
339364
340- [ index.ts:95] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L95 )
365+ [ index.ts:95] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L95 )
341366
342367___
343368
@@ -367,7 +392,7 @@ const exists = await brinedb.has("key");
367392
368393#### Defined in
369394
370- [ index.ts:224] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L224 )
395+ [ index.ts:224] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L224 )
371396
372397___
373398
@@ -391,7 +416,7 @@ await brinedb.init();
391416
392417#### Defined in
393418
394- [ index.ts:78] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L78 )
419+ [ index.ts:78] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L78 )
395420
396421___
397422
405430
406431#### Defined in
407432
408- [ index.ts:230 ] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L230 )
433+ [ index.ts:248 ] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L248 )
409434
410435___
411436
@@ -437,4 +462,4 @@ await brinedb.set("key", "value");
437462
438463#### Defined in
439464
440- [ index.ts:118] ( https://github.com/dan-online/brinedb/blob/1f98f0b /src/index.ts#L118 )
465+ [ index.ts:118] ( https://github.com/dan-online/brinedb/blob/ab25ca8 /src/index.ts#L118 )
0 commit comments