README fix.

remotes/1708105384931250775/master
Luka Vandervelden 2020-01-04 16:05:01 +01:00
parent 52753bce14
commit b93130dc99
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ dependencies:
# Usage
```crystal
db = DODB::DataBase(Thing).new
db = DODB::DataBase(Thing).new "path/to/storage/directory"
db << Thing.new
@ -41,7 +41,7 @@ class Thing
end
# Then we create our database.
things = DODB::DataBase(Thing).new
things = DODB::DataBase(Thing).new "path/to/storage/directory"
# Then we define indices to it. There are several ways to index things in DODB.
# Indices are the simplest way to do so. They represent attributes that are