mdb_drop.1 988 Bytes
Newer Older
Howard Chu's avatar
Howard Chu committed
1
.TH MDB_DROP 1 "2017/11/19" "LMDB 0.9.70"
Quanah Gibson-Mount's avatar
Quanah Gibson-Mount committed
2
.\" Copyright 2014-2021 Howard Chu, Symas Corp. All Rights Reserved.
Howard Chu's avatar
Howard Chu committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
.SH NAME
mdb_drop \- LMDB database delete tool
.SH SYNOPSIS
.B mdb_drop
[\c
.BR \-V ]
[\c
.BR \-n ]
[\c
.BR \-d ]
[\c
.BI \-s \ subdb\fR]
.BR \ envpath
.SH DESCRIPTION
The
.B mdb_drop
utility empties or deletes a database in the specified
environment.
.SH OPTIONS
.TP
.BR \-V
Write the library version number to the standard output, and exit.
.TP
.BR \-n
Operate on an LMDB database which does not use subdirectories.
.TP
.BR \-d
Delete the specified database, don't just empty it.
.TP
.BR \-s \ subdb
Operate on a specific subdatabase. If no database is specified, only the main database is dropped.
.SH DIAGNOSTICS
Exit status is zero if no errors occur.
Errors result in a non-zero exit status and
a diagnostic message being written to standard error.
.SH AUTHOR
Howard Chu of Symas Corporation <http://www.symas.com>