README.md in baza-0.0.31 vs README.md in baza-0.0.32
- old
+ new
@@ -1,9 +1,5 @@
-[![Code Climate](https://codeclimate.com/github/kaspernj/baza/badges/gpa.svg)](https://codeclimate.com/github/kaspernj/baza)
-[![Test Coverage](https://codeclimate.com/github/kaspernj/baza/badges/coverage.svg)](https://codeclimate.com/github/kaspernj/baza)
-[![Build Status](https://travis-ci.org/kaspernj/baza.svg?branch=master)](https://travis-ci.org/kaspernj/baza)
-
# baza
A database abstraction layer for Ruby. Also supports JRuby.
## Installation
@@ -102,9 +98,15 @@
### Listing databases
```ruby
db.databases.list.each do |database|
puts "Database: #{database.name}"
end
+```
+
+### Dropping a database
+```ruby
+database = db.databases["test-db"]
+database.drop
```
### Listing tables on non-used-database
```ruby
database = db.database["test-db"]