mirror of https://github.com/etcd-io/bbolt.git
DB.CreateBucket() -> Tx.CreateBucket() (#178)
there is not a method for DB called CreateBucket()pull/191/head
parent
72c1660c13
commit
6e135e5d7e
|
@ -275,7 +275,7 @@ should be writable.
|
|||
### Using buckets
|
||||
|
||||
Buckets are collections of key/value pairs within the database. All keys in a
|
||||
bucket must be unique. You can create a bucket using the `DB.CreateBucket()`
|
||||
bucket must be unique. You can create a bucket using the `Tx.CreateBucket()`
|
||||
function:
|
||||
|
||||
```go
|
||||
|
|
Loading…
Reference in New Issue