Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typos in readme

  • Loading branch information...
commit 9389885857a62bf8e58f975733bac5eb813e1e45 1 parent 17ae910
alfons haffmans authored
Showing with 10 additions and 10 deletions.
  1. +5 −5 README.md
  2. +5 −5 doc/readme-base.md
View
10 README.md
@@ -46,7 +46,7 @@ libraries (which in turn have their own dependecies). asdf is not a
dependency manager, so you would need to install all dependencies as
they come up as unavailable when you try to install cl-mongo.
-On the other hand, cl-mongo is included in quicklisp, which should make live easier.
+On the other hand, cl-mongo is included in quicklisp, which should make life easier.
## Testing
@@ -72,7 +72,7 @@ Insert a key-value pair as the first document into collection "foo".
Pretty-print the documents returned by the find command. iter will ensure that the cursor is
fully iterated over.
- (pp (iter (db.find "foo" 'all)))`
+ (pp (iter (db.find "foo" :all)))`
{
"_id" -> objectid(4B5CF28970DFF196A75FE1F0)
@@ -134,10 +134,10 @@ Print the current contents.
Bind variable `*DOC*` to the second document returned by the find command,
add an other element and save back to the collection.
- (defvar *DOC* (cadr (docs (db.find "foo" 'all))))`
+ (defvar *DOC* (cadr (docs (db.find "foo" :all))))`
(add-element "tags" (list 'good 'bad 'ugly) *DOC*)
(db.save "foo" *DOC*)
- (pp (db.find "foo" 'all))
+ (pp (db.find "foo" :all))
{
"_id" -> objectid(4B5CF28970DFF196A75FE1F0)
@@ -154,7 +154,7 @@ add an other element and save back to the collection.
Check the status of the server.
(db.use "admin")
- (nd (db.run-command 'serverstatus))
+ (nd (db.run-command :serverstatus))
"ok" -> 1.0d0
"mem" ->
View
10 doc/readme-base.md
@@ -46,7 +46,7 @@ libraries (which in turn have their own dependecies). asdf is not a
dependency manager, so you would need to install all dependencies as
they come up as unavailable when you try to install cl-mongo.
-On the other hand, cl-mongo is included in quicklisp, which should make live easier.
+On the other hand, cl-mongo is included in quicklisp, which should make life easier.
## Testing
@@ -72,7 +72,7 @@ Insert a key-value pair as the first document into collection "foo".
Pretty-print the documents returned by the find command. iter will ensure that the cursor is
fully iterated over.
- (pp (iter (db.find "foo" 'all)))`
+ (pp (iter (db.find "foo" :all)))`
{
"_id" -> objectid(4B5CF28970DFF196A75FE1F0)
@@ -134,10 +134,10 @@ Print the current contents.
Bind variable `*DOC*` to the second document returned by the find command,
add an other element and save back to the collection.
- (defvar *DOC* (cadr (docs (db.find "foo" 'all))))`
+ (defvar *DOC* (cadr (docs (db.find "foo" :all))))`
(add-element "tags" (list 'good 'bad 'ugly) *DOC*)
(db.save "foo" *DOC*)
- (pp (db.find "foo" 'all))
+ (pp (db.find "foo" :all))
{
"_id" -> objectid(4B5CF28970DFF196A75FE1F0)
@@ -154,7 +154,7 @@ add an other element and save back to the collection.
Check the status of the server.
(db.use "admin")
- (nd (db.run-command 'serverstatus))
+ (nd (db.run-command :serverstatus))
"ok" -> 1.0d0
"mem" ->
Please sign in to comment.
Something went wrong with that request. Please try again.