aboutsummaryrefslogtreecommitdiffstats
path: root/proposals/0000-hyperdb.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-03-14 21:31:19 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-03-14 21:31:21 -0700
commit885848ae6b18b829bb0295d1d1ea4be9ae911644 (patch)
tree1aa0eb4edc65224b442c0f796cc2818ae0c8ab55 /proposals/0000-hyperdb.md
parenta3433ddb5829082cee6c47bd5a972e51d52490ea (diff)
downloaddat-deps-885848ae6b18b829bb0295d1d1ea4be9ae911644.tar.gz
dat-deps-885848ae6b18b829bb0295d1d1ea4be9ae911644.zip
my spelling is banannas
Thanks @dcposch!
Diffstat (limited to 'proposals/0000-hyperdb.md')
-rw-r--r--proposals/0000-hyperdb.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/proposals/0000-hyperdb.md b/proposals/0000-hyperdb.md
index 6209f2f..94e9da6 100644
--- a/proposals/0000-hyperdb.md
+++ b/proposals/0000-hyperdb.md
@@ -116,13 +116,13 @@ relevant value is replicated, or the implementation could return an error.
An example pseudo-code session working with a database might be:
db.put('/life/animal/mammal/kitten', '{"cuteness": 500.3}')
- db.put('/life/plant/bush/bananna', '{"delicious": 103.4}')
- db.delete('/life/plant/bush/bananna')
- db.put('/life/plant/tree/bananna', '{"delicious": 103.4}')
+ db.put('/life/plant/bush/banana', '{"delicious": 103.4}')
+ db.delete('/life/plant/bush/banana')
+ db.put('/life/plant/tree/banana', '{"delicious": 103.4}')
db.get('/life/animal/mammal/kitten')
=> {"cuteness": 500.3}
db.list('/life/')
- => ['/life/animal/mammal/kitten', '/life/plant/tree/bananna']
+ => ['/life/animal/mammal/kitten', '/life/plant/tree/banana']
# Reference Documentation