The cl-mongo Reference Manual

This is the cl-mongo Reference Manual, version 0.7, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:10:30 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-mongo

lisp system to interact with mongodb, a non-sql db

Author

<>

License

MIT

Version

0.7

Dependencies
  • uuid (system).
  • babel (system).
  • bordeaux-threads (system).
  • documentation-template (system).
  • lisp-unit (system).
  • parenscript (system).
  • split-sequence (system).
  • usocket (system).
Source

cl-mongo.asd.

Child Components

3 Modules

Modules are listed depth-first from the system components tree.


3.1 cl-mongo/src

Source

cl-mongo.asd.

Parent Component

cl-mongo (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 cl-mongo/cl-mongo.asd

Source

cl-mongo.asd.

Parent Component

cl-mongo (system).

ASDF Systems

cl-mongo.

Packages

cl-mongo-system.


4.1.2 cl-mongo/src/packages.lisp

Source

cl-mongo.asd.

Parent Component

src (module).

Packages

cl-mongo.


4.1.3 cl-mongo/src/octets.lisp

Dependency

packages.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.4 cl-mongo/src/pair.lisp

Dependency

octets.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.5 cl-mongo/src/encode-float.lisp

Dependency

pair.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.6 cl-mongo/src/bson-oid.lisp

Dependency

encode-float.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface

print-object (method).

Internals

4.1.7 cl-mongo/src/bson-binary.lisp

Dependency

bson-oid.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface

print-object (method).

Internals

4.1.8 cl-mongo/src/bson-time.lisp

Dependency

bson-binary.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.9 cl-mongo/src/bson-regex.lisp

Dependency

bson-time.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface

print-object (method).

Internals

4.1.10 cl-mongo/src/bson-code.lisp

Dependency

bson-regex.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface

print-object (method).

Internals

4.1.11 cl-mongo/src/bson.lisp

Dependency

bson-code.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.12 cl-mongo/src/bson-decode.lisp

Dependency

bson.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.13 cl-mongo/src/bson-array.lisp

Dependency

bson-decode.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface

print-object (method).

Internals

4.1.14 cl-mongo/src/document.lisp

Dependency

bson-array.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.15 cl-mongo/src/mongo-syntax.lisp

Dependency

document.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.16 cl-mongo/src/java-script.lisp

Dependency

mongo-syntax.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.17 cl-mongo/src/bson-encode-container.lisp

Dependency

java-script.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.18 cl-mongo/src/protocol.lisp

Dependency

bson-encode-container.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.19 cl-mongo/src/mongo.lisp

Dependency

protocol.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.20 cl-mongo/src/db.lisp

Dependency

mongo.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.21 cl-mongo/src/mem.lisp

Dependency

db.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Internals

4.1.22 cl-mongo/src/do-query.lisp

Dependency

mem.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface

do-query (function).

Internals

4.1.23 cl-mongo/src/doc.lisp

Dependency

do-query.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.24 cl-mongo/src/map-reduce.lisp

Dependency

doc.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.25 cl-mongo/src/shell.lisp

Dependency

map-reduce.lisp (file).

Source

cl-mongo.asd.

Parent Component

src (module).

Public Interface
  • date-time (function).
  • docs (function).
  • iter (function).
  • nd (function).
  • now (function).
  • pp (generic function).
  • ret (function).
  • rm (function).
  • show (generic function).
Internals

4.2 Static


4.2.1 cl-mongo/README.md

Dependency

src (module).

Source

cl-mongo.asd.

Parent Component

cl-mongo (system).


4.2.2 cl-mongo/COPYING

Dependency

readme.md (file).

Source

cl-mongo.asd.

Parent Component

cl-mongo (system).


5 Packages

Packages are listed by definition order.


5.1 cl-mongo

Source

packages.lisp.

Use List
  • babel.
  • common-lisp.
  • usocket.
  • uuid.
Public Interface
Internals

5.2 cl-mongo-system

Source

cl-mongo.asd.

Use List
  • asdf/interface.
  • common-lisp.

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Special variables

Special Variable: *mongo-default-db*

database opened by the default connection

Package

cl-mongo.

Source

mongo.lisp.

Special Variable: *mongo-default-host*

host for the default connection.

Package

cl-mongo.

Source

mongo.lisp.

Special Variable: *mongo-default-port*

port for the default connection.

Package

cl-mongo.

Source

mongo.lisp.

Special Variable: *repo-root*

root of the repository; used for documentation generation

Package

cl-mongo.

Source

doc.lisp.


6.1.2 Macros

Macro: $ (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $!= (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $!in (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $+ (arg &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $- (arg &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $/ (regex options)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $< (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $<= (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $> (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $>= (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $add-to-set (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $all (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $em (array &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $exists (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $in (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $inc (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $index (collection &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $map-reduce (collection map reduce &key query limit out keeptemp finalize verbose)

Run map reduce on the mongo server. map and reduce are either the names of the
javascript functions, created with defjs or defsrvjs or are function definitions in javascript.
The keywords refer to option available for map reduce in mongo. This returns a result summary document. When using :keeptemp t without specificing :out the collection is mr.<collection>

Package

cl-mongo.

Source

map-reduce.lisp.

Macro: $mod (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $not (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $pop-back (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $pop-front (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $pull (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $pull-all (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $push (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $push-all (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $set (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $unset (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $where (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: db.sort (collection query &rest args)

sort macro : Takes the same arguments and keywords as db.find but converts the query so it works as a sort. use the :field keyword to select the field to sort on. Set :asc to nil to reverse the sort order

Package

cl-mongo.

Source

db.lisp.

Macro: defjs (name args &body body)

Define client side javascript. Works like defun; body is in lisp, with parenscript additions, like return. So (defjs hello (x y) (return (+ x y))) defines an adder. macro creates a lisp function which sends the javascript function over to the mongo server to be evaluated. Result is processed and returned to the reader.
This will execute 10 times on the server :
(mapcar (lambda (x) (hello 10 x)) (list 1 2 3 4 5 6 7 8 9 10))

Package

cl-mongo.

Source

java-script.lisp.

Macro: defsrvjs (name args &body body)

Creates a function which stores and executes javascript on the server. The first time
the function is called the javascript function is stored on the server. Subsequent calls will call out to the server.
Works like defun; the function body is defined in lisp, with parenscript additions. Since the body of the function already resides on the server this should have less impact on the network. Use :install t to reinstall.

Package

cl-mongo.

Source

java-script.lisp.

Macro: install-js (name)

Allows server based javascripts the be installed without being run.

Package

cl-mongo.

Source

java-script.lisp.

Macro: jsdef (name)

Return the body of the javascript function; otherwise nill.

Package

cl-mongo.

Source

java-script.lisp.

Macro: remove-js (name)
Package

cl-mongo.

Source

java-script.lisp.

Macro: with-mongo-connection (args &rest body)

Creates a connection to a mongodb, makes it the default connection and evaluates the body form.
args uses the same keyword set as mongo (:db :localhost :port) args is passed on to make-mongo when the connection is created.

Package

cl-mongo.

Source

mongo.lisp.


6.1.3 Ordinary functions

Function: bson-time-to-ut (bson-time)
Package

cl-mongo.

Source

bson-time.lisp.

Function: collect-all-elements (key-list document-list)
Package

cl-mongo.

Source

document.lisp.

Function: cwd (&key mongo)

Show the current database.

Package

cl-mongo.

Source

mongo.lisp.

Function: date-time (second minute hour day month year &optional time-zone)

Generate a time stamp the mongo/bson protocol understands.

Package

cl-mongo.

Source

shell.lisp.

Function: db.iterator (result)

Returns the iterator from the result set.

Package

cl-mongo.

Source

db.lisp.

Function: do-query (coll &key map-fn reduce-fn initial-value query mongo limit selector)

Performs a multi-threaded query on a mongo database. coll is the collection name. The reduce-fn keyword is used to specify a function which
will be called for each member of a batch of data returned from mongodb.
The reduce-fn function is executed while the query for the next batch is in progress. The default for reduce-fn is the identity function.
The reduction keyword is used to specify a function which is executed when the database queries have finished.
It’s default implementation is to return a hash table, with the mongodb id as the hash key. The query, mongo, limit and selector keywords are used in the same way as for db.find.

Package

cl-mongo.

Source

do-query.lisp.

Function: doc-id (doc)

return the unique document id

Package

cl-mongo.

Source

document.lisp.

Function: docs (result)

Stop the iterator (if any) and return the list of documents returned by the query. Typical ue would be in conjunction with db.find like so (docs (iter (db.find ’foo’ ’ll)))

Package

cl-mongo.

Source

shell.lisp.

Function: generate-readme (&key path)

This function generates a README.md file with the latest api description.
The :path keyword specifies the location. It expects a sub-directory <path>/doc. Api documentation is generated on the fly, by extracting comments from the classes, generics and fuctions exported in the packages file.
The resulting file is <path>/doc/index.html. <path>/README.md is generated by appending the api documentation to <path>/doc/readme-base.md.
:path or *REPO-ROOT* are typically set to the root of the repository.

Package

cl-mongo.

Source

doc.lisp.

Function: ht->document (ht)

Convert a hash-table to a document.

Package

cl-mongo.

Source

document.lisp.

Function: iter (result &key mongo max-per-call)

Exhaustively iterate through a query. The maximum number of responses per query can be specified using the max-per-call keyword.

Package

cl-mongo.

Source

shell.lisp.

Function: make-document (&key oid size)

Constructor. key ’:oid’ is a user supplied unique id. An internal id will be generated if none is supplied.

Package

cl-mongo.

Source

document.lisp.

Function: mapdoc (fn document)
Package

cl-mongo.

Source

document.lisp.

Function: mongo-show ()

Show all registered connections and their session id

Package

cl-mongo.

Source

mongo.lisp.

Function: mr.gc (&key mongo)

remove the temporary collections created by map-reduce

Package

cl-mongo.

Source

map-reduce.lisp.

Function: mr.gc.all (&key mongo)

remove the all collections created by map-reduce, temporary as well as permanent

Package

cl-mongo.

Source

map-reduce.lisp.

Function: mr.p (results)

show the contents of the results collection map-reduce created

Package

cl-mongo.

Source

map-reduce.lisp.

Function: nd (result &key stream)

Pretty-print for non-document responses, like the response to a database command.

Package

cl-mongo.

Source

shell.lisp.

Function: now ()

Return the current date and time in bson format.

Package

cl-mongo.

Source

shell.lisp.

Function: nwd ()

Show the database set by the ‘(db.use -)‘ command

Package

cl-mongo.

Source

mongo.lisp.

Function: ret (result)

return value bound to retval in a return document. Used for db.count, db.distinct, functions etc..

Package

cl-mongo.

Source

shell.lisp.

Function: rm (collection query &key mongo)

Delete all the documents returned by a query. This is not an efficient way of deleting documents as it invloves multiple trips to the server. Mongo allows for execution of java-script on the server side, which provides an alternative. Typical use would be (rm (iter (db.find ’foo’ (kv ’key’ 1)))), which deletes all documents in foo, with field key equal to 1.

Package

cl-mongo.

Source

shell.lisp.

Function: time-zone ()

Set the time zone appropriate for the current environment.

Package

cl-mongo.

Source

bson-time.lisp.


6.1.4 Generic functions

Generic Function: add-element (key value document)

add element with key and value to a document

Package

cl-mongo.

Source

document.lisp.

Methods
Method: add-element ((key string) value (document document))
Method: add-element (key value document)
Generic Function: db.add-user (username password &key mongo readonly)

Add a user to the database.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.add-user ((username string) (password string) &key mongo readonly)
Generic Function: db.auth (username password &key mongo)

authenticate a user with a password

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.auth ((username string) (password string) &key mongo)
Generic Function: db.collections (&key mongo)
Package

cl-mongo.

Methods
Method: db.collections (&key mongo)

Show all the collections in the current database.

Source

db.lisp.

Generic Function: db.count (collection selector &key mongo)

Count all the collections satifying the criterion set by the selector. :all can be used to return a count of
all the documents in the collection.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.count (collection (selector pair) &key mongo)
Method: db.count (collection (selector (eql :all)) &key mongo)
Method: db.count (collection selector &key mongo)
Generic Function: db.create-collection (collection &key)

create a collection

Package

cl-mongo.

Source

db.lisp.

Generic Function: db.delete (collection object &key mongo)

Delete a document from a collection. The *document* field is used to identify the document to
be deleted.
You can enter a list of documents. In that the server will be contacted to delete each one of these. It may be more efficient to run a delete script on the server side.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.delete ((collection string) (kv pair) &key mongo)
Method: db.delete ((collection string) (document kv-container) &key mongo)
Method: db.delete ((collection string) (documents cons) &key mongo)
Method: db.delete ((collection string) (document document) &key mongo)
Method: db.delete (collection (document (eql nil)) &key mongo)
Generic Function: db.distinct (collection key &key mongo)

Return all the distinct values of this key in the collection

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.distinct ((collection string) (key string) &key mongo)
Generic Function: db.ensure-index (collection keys &key mongo unique drop-duplicates asc)

Create an index specified by the keys in a collection

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.ensure-index ((collection string) (key pair) &key mongo unique drop-duplicates)
Method: db.ensure-index ((collection string) (key string) &key mongo unique asc drop-duplicates)
Method: db.ensure-index ((collection string) (index kv-container) &key mongo unique drop-duplicates)
Method: db.ensure-index ((collection string) (index hash-table) &key mongo unique drop-duplicates)
Generic Function: db.eval (code &rest rest)

run javascript code server side

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.eval ((code string) &rest args)
Generic Function: db.find (collection kv &key mongo options skip limit selector)

Find documents in the collection using the selector specified by kv.
Methods take two keywords. ’:limit’ sets the maximum number of documents returned. The default is 1. ’:skip’ sets the number of documents to skip in this query. It’s default is 0.
Since the default value of the limit is one, db.find by default is the equivalant of *findOne* in the mongo documentation.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.find ((collection string) (kv kv-container) &key mongo options skip limit selector)
Method: db.find ((collection string) (kv hash-table) &key mongo options skip limit selector)
Method: db.find ((collection string) (kv pair) &key mongo options skip limit selector)
Method: db.find ((collection string) (kv integer) &key mongo options skip selector)
Method: db.find ((collection string) (kv (eql :all)) &key mongo options skip limit selector)
Method: db.find ((collection symbol) kv &key mongo options skip limit selector)
Method: db.find ((collection string) kv &key mongo options skip limit selector)
Generic Function: db.indexes (&key mongo)
Package

cl-mongo.

Methods
Method: db.indexes (&key mongo)

Return all indexes in the database.

Source

db.lisp.

Generic Function: db.insert (collection document &key mongo)

Insert a document in a collection. A document is typically generated by ‘(make-document)‘, but it can also be a hash table, a key-value pair or kv list (see the kv functions).

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.insert ((collection string) document &key mongo)
Generic Function: db.iter (result &key mongo limit)

next document iteration

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.iter ((result cons) &key mongo limit)
Method: db.iter ((result (eql nil)) &key)
Generic Function: db.next (collection cursor-id &key mongo limit)

Executes the next call on the iterator identified by cursor-id.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.next ((collection string) (cursor-id integer) &key mongo limit)
Method: db.next ((collection (eql nil)) (cursor-id (eql 0)) &key mongo limit)
Method: db.next ((collection (eql nil)) (cursor-id (eql nil)) &key mongo limit)
Generic Function: db.run-command (cmd &key mongo collection index arg)

Run a database command on the server. See the mongo documentation for a list of commands. For most commands you can just uses the key-value shown in the mongo documentation.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.run-command ((cmd (eql :drop)) &key mongo collection index)
Method: db.run-command ((cmd (eql :dropindexes)) &key mongo collection index)
Method: db.run-command ((cmd (eql :deleteindexes)) &key mongo collection index)
Method: db.run-command ((cmd (eql :serverstatus)) &key mongo)
Method: db.run-command ((cmd (eql :listdatabases)) &key mongo)
Method: db.run-command ((cmd (eql :querytracelevel)) &key mongo arg)
Method: db.run-command ((cmd string) &key mongo arg)
Method: db.run-command ((cmd symbol) &key mongo arg)
Generic Function: db.save (collection document &key mongo)

Save a document to the collection. If the document has a unique ‘_id‘ value (i.e. if it’s generated by ‘(make-document)‘) it will be ’upserted’ (that is: it will be inserted if the document doesn’t exist). If the document a hash table or a kv set, it will be inserted.
In other words this a a helper-function build around *db.insert* and *db.update*.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.save ((collection string) (document kv-container) &key mongo)
Method: db.save ((collection string) (document hash-table) &key mongo)
Method: db.save ((collection string) (document document) &key mongo)
Generic Function: db.stop (cursor &key mongo)

Stop iterating and clean up the iterator on the server by making a server call.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.stop ((result cons) &key mongo)
Method: db.stop ((cursor integer) &key mongo)
Method: db.stop ((cursor (eql 0)) &key mongo)
Method: db.stop ((cursor (eql nil)) &key mongo)
Generic Function: db.update (collection selector new-document &key mongo upsert multi)

In a collection update the document(s) identified by the selector statement.
This method has two keywords. ’:upsert’ : If t insert the document if the document cannot be found in the collection. ’:multi’ : Update all documents identified by the selector.

Package

cl-mongo.

Source

db.lisp.

Methods
Method: db.update ((collection string) selector new-document &key mongo upsert multi)
Generic Function: db.use (db &key mongo)

Use a database on the mongo server. Opens a connection if one isn’t already established. (db.use -) can be used to go to a previosuly visited database, similar to cd -.

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: db.use ((db cons) &key mongo)
Method: db.use ((db string) &key mongo)
Generic Function: get-element (key document)

Get an element identified by key from the document. To get the _id use :_id as the key

Package

cl-mongo.

Source

document.lisp.

Methods
Method: get-element ((key string) (document cons))
Method: get-element ((key string) (document document))
Method: get-element ((key-list cons) (document document))
Method: get-element ((key (eql :_id)) (docs cons))
Method: get-element ((key (eql :_id)) (document document))
Method: get-element ((key string) (document (eql nil)))
Generic Function: get-keys (document)

Gets a list of keys that are in the document

Package

cl-mongo.

Source

document.lisp.

Methods
Method: get-keys ((document document))
Generic Function: kv (a &rest rest)

This a helper function for key-value pairs and sets of key-value pairs.
In a key-value pair like (kv key value) the key has to be a string and the
value something which is serializable.
key-value pairs can be combined using kv as well : (kv (kv key1 val1) (kv key2 val2)). This combination of key-value pairs is equivalent to a document without a unique id. The server will assign a unique is if a list of key-value pairs is saved.

Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv ((a pair) &rest rest)
Method: kv ((kv-container kv-container) &rest rest)
Method: kv ((a symbol) &rest rest)
Method: kv ((a string) &rest rest)
Method: kv ((a (eql nil)) &rest rest)
Generic Function: mongo (&key host port db name)

This method returns the connection referred to by
the name identifier from the connection registry. The connection name is unique. If no connection with that name exists, a new connection with the supplied or default host, port and db parameters will be created. The default host is localhost;
the default port is 27017; the default db is admin.

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: mongo (&key host port db name)
Generic Function: mongo-close (name)

Close the connection to the mongo database.
The name should uniquely identify the connection to close.
This is either a mongo object or the name the object is bound to
in the connection registry. To close all open connections use the special symbol ’all

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: mongo-close ((name (eql :all)))
Method: mongo-close (name)
Method: mongo-close ((mongo mongo))
Generic Function: mongo-registered (name)

Return a conection registered by this name or nil..

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: mongo-registered (name)
Generic Function: mongo-swap (left right)

Swap the names of the left and right connections. Typical use would be
‘(mongo-swap :default :alt)‘. After the function call :default will refer to the connection
previously referred to as :alt. A connection named :default is returned by ‘(mongo)‘ and is the default used in the api. The connections are returned in the order they were passed in (but with the names swapped between them). To re-open a connection you can say
‘(mongo-close (mongo-swap :default (mongo :host <newhost> :portid <portid> :name :temp)))‘
and a new default connection is registered.

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: mongo-swap ((left (eql :default)) (right mongo))
Method: mongo-swap (left right)
Method: mongo-swap ((left mongo) (right mongo))
Generic Function: pp (result &key stream nd)

Pretty-print the results returned from a query. To be used on the repl. This will format each server reply as if it were a document. This is obviously ok in mosty cases. See nd for an alternative.

Package

cl-mongo.

Source

shell.lisp.

Methods
Method: pp ((result cons) &key stream nd)
Method: pp ((result (eql nil)) &key)
Generic Function: rm-element (key document)

Remove element identified by key from a document

Package

cl-mongo.

Source

document.lisp.

Methods
Method: rm-element ((key string) (document document))
Generic Function: show (things &key order nl msg)

Print a list of things. Things can be users, databases,
collections in the current database,
the profile and more. Things is a keyword so (show :users) will show all users.

Package

cl-mongo.

Source

shell.lisp.

Methods
Method: show ((things (eql :errors)) &key order)
Method: show ((things (eql :preverror)) &key order)
Method: show ((things (eql :lasterror)) &key order)
Method: show ((things (eql :assertinfo)) &key order)
Method: show ((things (eql :status)) &key order)
Method: show ((things (eql :users)) &key order)
Method: show :after ((things (eql :buildinfo)) &key)
Method: show :before ((things (eql :buildinfo)) &key)
Method: show ((things (eql :buildinfo)) &key order)
Method: show :after ((things (eql :databases)) &key)
Method: show :before ((things (eql :databases)) &key)
Method: show ((things (eql :databases)) &key order)
Method: show ((things (eql :indexes)) &key order)
Method: show ((things (eql :collections)) &key order)
Method: show ((func function) &key order nl msg)
Method: show ((things (eql :connections)) &key)

6.1.5 Standalone methods

Method: describe-object ((document document) stream)
Source

document.lisp.

Method: initialize-instance :after ((mongo mongo) &key)
Source

mongo.lisp.

Method: print-object ((document document) stream)
Source

document.lisp.

Method: print-object ((mongo mongo) stream)
Source

mongo.lisp.

Method: print-object ((bson-binary-base bson-binary-base) stream)
Source

bson-binary.lisp.

Method: print-object ((arr bson-array) stream)
Source

bson-array.lisp.

Method: print-object ((bson-time bson-time) stream)
Source

bson-time.lisp.

Method: print-object ((bson-code bson-code) stream)
Source

bson-code.lisp.

Method: print-object ((bson-oid bson-oid) stream)
Source

bson-oid.lisp.

Method: print-object ((bson-regex bson-regex) stream)
Source

bson-regex.lisp.

Method: print-object ((kv-container kv-container) stream)
Source

pair.lisp.

Method: shared-initialize :after ((mongo mongo) slots &key)
Source

mongo.lisp.

Writer Method: (setf socket) ((mongo mongo))

automatically generated writer method

Package

usocket.

Source

mongo.lisp.

Target Slot

socket.

Reader Method: socket ((mongo mongo))

automatically generated reader method

Package

usocket.

Source

mongo.lisp.

Target Slot

socket.


6.1.6 Classes

Class: document

document
Document class. A document consists of key/value pairs stored in a internal hash table plus an internally generated unique id.
Accessors are : ’elements’ which returns the internal hash table;
’_id’ which returns the unique id and ’_local_id’ which if true means that
the document was generated by the client (as opposed to having been read from the server).

Package

cl-mongo.

Source

document.lisp.

Direct methods
Direct Default Initargs
InitargValue
:localt
:oid(make-bson-oid)
Direct slots
Slot: elements
Initargs

:elements

Readers

elements.

Writers

(setf elements).

Slot: _local_id
Initargs

:local

Readers

_local.

Writers

This slot is read-only.

Slot: _id
Initargs

:oid

Readers

_id.

Writers

This slot is read-only.

Class: mongo

Encapsulates the connection to the mongo database. Each connection is a added to a global registry.

Package

cl-mongo.

Source

mongo.lisp.

Direct methods
Direct slots
Slot: port
Initargs

:port

Readers

port.

Writers

This slot is read-only.

Slot: host
Initargs

:host

Readers

host.

Writers

This slot is read-only.

Slot: name
Initargs

:name

Readers

name.

Writers

(setf name).

Slot: socket
Package

usocket.

Initargs

:socket

Readers

socket.

Writers

(setf socket).

Slot: id
Initform

(uuid:make-v4-uuid)

Readers

id.

Writers

This slot is read-only.

Slot: db
Initargs

:db

Readers

db.

Writers

(setf db).


6.2 Internals


6.2.1 Constants

Constant: +bson-binary+

ordinary binary

Package

cl-mongo.

Source

bson-binary.lisp.

Constant: +bson-binary-function+

function

Package

cl-mongo.

Source

bson-binary.lisp.

Constant: +bson-binary-generic+

binary/generic

Package

cl-mongo.

Source

bson-binary.lisp.

Constant: +bson-binary-md5+

md5

Package

cl-mongo.

Source

bson-binary.lisp.

Constant: +bson-binary-user+

user defined

Package

cl-mongo.

Source

bson-binary.lisp.

Constant: +bson-binary-uuid+

uuid

Package

cl-mongo.

Source

bson-binary.lisp.

Constant: +bson-data-array+

bson array

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-binary+

bson binary

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-boolean+

bson boolean encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-code+

bson code encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-code_w_s+

bson javascript with scope

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-date+

bson date encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-dbpointer+

bson db pointer encoding/deprecated

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-int32+

bson 32 bit int encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-long+

bson 64 bit int encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-max-key+

bson data ultimate maximum

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-min-key+

bson data ultimate minimum

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-null+

bson null encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-number+

bson number encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-object+

bson data array; bson object

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-oid+

bson oid encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-regex+

bson regex encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-string+

bson string encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-symbol+

bson symbol encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-timestamp+

bson 32 bit int encoding

Package

cl-mongo.

Source

bson.lisp.

Constant: +bson-data-undefined+

undefined/deprecated

Package

cl-mongo.

Source

bson.lisp.

Constant: +default-array-size+

size of default array in the encoder

Package

cl-mongo.

Source

bson.lisp.

Constant: +java-script-epoch+

(encode-universal-time 0 0 0 1 1 1970 0)

Package

cl-mongo.

Source

bson-time.lisp.

Constant: +max-uint32+

max + 1 value of unsigned 32 bit integer

Package

cl-mongo.

Source

octets.lisp.

Constant: +max-uint64+

max + 1 value of unsigned 64 bit integer

Package

cl-mongo.

Source

octets.lisp.

Constant: +milliseconds-multiplier+

’convert’ to milliseconds

Package

cl-mongo.

Source

bson-time.lisp.

Constant: +mongo-delete+

delete command

Package

cl-mongo.

Source

protocol.lisp.

Constant: +mongo-get-more+

request for more docs/next cursor iterator

Package

cl-mongo.

Source

protocol.lisp.

Constant: +mongo-insert+

insert command

Package

cl-mongo.

Source

protocol.lisp.

Constant: +mongo-kill-cursors+

kill the cursor/reclaim db resources

Package

cl-mongo.

Source

protocol.lisp.

Constant: +mongo-port+
Package

cl-mongo.

Source

mongo.lisp.

Constant: +mongo-query+

query command

Package

cl-mongo.

Source

protocol.lisp.

Constant: +mongo-update+

update/insert command

Package

cl-mongo.

Source

protocol.lisp.


6.2.2 Special variables

Special Variable: *bt-time-zone*

the current time zone; 5 -> EST

Package

cl-mongo.

Source

bson-time.lisp.

Special Variable: *db.use-history*

an attempt to record the history of the shell

Package

cl-mongo.

Source

mongo.lisp.

Special Variable: *indent*
Package

cl-mongo.

Source

shell.lisp.

Special Variable: *js-definitions*

hash table containing client side javascript

Package

cl-mongo.

Source

java-script.lisp.

Special Variable: *mongo-registry*

hash table of all open mongo connections

Package

cl-mongo.

Source

mongo.lisp.

Special Variable: *q*
Package

cl-mongo.

Source

do-query.lisp.

Special Variable: *r*
Package

cl-mongo.

Source

do-query.lisp.

Special Variable: *runners*
Package

cl-mongo.

Source

do-query.lisp.

Special Variable: +bt-day-names+
Package

cl-mongo.

Source

bson-time.lisp.

Special Variable: +bt-months+
Package

cl-mongo.

Source

bson-time.lisp.


6.2.3 Macros

Macro: $exp+ (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $kv-eval (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $op (op &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $op* (op &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $range (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: $size (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: construct-$+- (val arg &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: construct-container* (value args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: construct-container-lst* (args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: expand-selector (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: jssrvdef (name)

Return the body of the javascript function as installed on the server; otherwise nill.

Package

cl-mongo.

Source

java-script.lisp.

Macro: set-keys (&rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: upd (op &rest args)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Macro: with-indent (&body body)
Package

cl-mongo.

Source

shell.lisp.


6.2.4 Ordinary functions

Function: add-integer (int32 array)
Package

cl-mongo.

Source

octets.lisp.

Function: add-octets (source target &key start from-end)
Package

cl-mongo.

Source

octets.lisp.

Function: add-to-array (elem arr)
Package

cl-mongo.

Source

octets.lisp.

Function: add-to-registry (mongo)
Package

cl-mongo.

Source

mongo.lisp.

Function: append-to-octet-vector (source target)
Package

cl-mongo.

Source

octets.lisp.

Function: asc/desc->+1/-1 (ht)
Package

cl-mongo.

Source

db.lisp.

Function: bind-return (val result)

return value bound to val in a return document. Used for count etc..

Package

cl-mongo.

Source

shell.lisp.

Function: bool-to-byte (val)
Package

cl-mongo.

Source

octets.lisp.

Function: bson-decode (totlen pos docs array &key container)
Package

cl-mongo.

Source

bson-decode.lisp.

Function: bson-encode-array (key &key array type encoder)
Package

cl-mongo.

Source

bson.lisp.

Function: bson-encode-cons (list stack bson-array-stack)
Package

cl-mongo.

Source

bson-array.lisp.

Function: byte-to-bool (val)
Package

cl-mongo.

Source

octets.lisp.

Function: byte-to-octet (val)
Package

cl-mongo.

Source

octets.lisp.

Function: collect-args (lst &optional accum)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Function: collect-to-hash (ht doc)
Package

cl-mongo.

Source

do-query.lisp.

Function: connection? (name)
Package

cl-mongo.

Source

mongo.lisp.

Function: copy-pair (instance)
Package

cl-mongo.

Source

pair.lisp.

Function: count-it (collection key)
Package

cl-mongo.

Source

db.lisp.

Function: customize (str)
Package

cl-mongo.

Source

doc.lisp.

Function: decode-double-float-bits (bits)
Package

cl-mongo.

Source

encode-float.lisp.

Function: decode-float-bits (bits sign-byte exponent-byte mantissa-byte bias)
Package

cl-mongo.

Source

encode-float.lisp.

Function: default? ()
Package

cl-mongo.

Source

mongo.lisp.

Function: denormalize (mantissa exponent bias mantissa-byte)
Package

cl-mongo.

Source

encode-float.lisp.

Function: do-reduce (fn &key initial-value)
Package

cl-mongo.

Source

do-query.lisp.

Function: empty-str (str)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Function: encode-double-float-bits (float)
Package

cl-mongo.

Source

encode-float.lisp.

Function: encode-float-bits (float sign-byte exponent-byte mantissa-byte bias)
Package

cl-mongo.

Source

encode-float.lisp.

Function: end-of-key (start array)
Package

cl-mongo.

Source

bson-decode.lisp.

Function: error-on-key-exists (key)
Package

cl-mongo.

Source

mongo.lisp.

Function: gen-clean (gen)
Package

cl-mongo.

Source

mem.lisp.

Function: gendoc (target)
Package

cl-mongo.

Source

doc.lisp.

Function: get-all-values (key list-of-docs)
Package

cl-mongo.

Source

document.lisp.

Function: gmt-to-bson-time (gmt)
Package

cl-mongo.

Source

bson-time.lisp.

Function: hash-keys (ht)
Package

cl-mongo.

Source

document.lisp.

Function: header+docsp (val)
Package

cl-mongo.

Source

db.lisp.

Function: headerp (val)
Package

cl-mongo.

Source

db.lisp.

Function: hex-md5 (str)
Package

cl-mongo.

Source

db.lisp.

Function: ht->document.1 (ht)
Package

cl-mongo.

Source

document.lisp.

Function: ht->list.1 (ht)
Package

cl-mongo.

Source

bson-decode.lisp.

Function: ht-test (size)
Package

cl-mongo.

Source

document.lisp.

Function: int32-to-octet (val)
Package

cl-mongo.

Source

octets.lisp.

Function: int64-to-octet (val)
Package

cl-mongo.

Source

octets.lisp.

Function: js-show ()
Package

cl-mongo.

Source

java-script.lisp.

Function: load-file (path)
Package

cl-mongo.

Source

doc.lisp.

Function: make-bson-array (&key size)
Package

cl-mongo.

Source

bson-array.lisp.

Function: make-bson-code (js)
Package

cl-mongo.

Source

bson-code.lisp.

Function: make-bson-oid (&key oid)
Package

cl-mongo.

Source

bson-oid.lisp.

Function: make-bson-regex (regex options)
Package

cl-mongo.

Source

bson-regex.lisp.

Function: make-bson-time (&optional raw-time)
Package

cl-mongo.

Source

bson-time.lisp.

Function: make-elements (size)
Package

cl-mongo.

Source

document.lisp.

Function: make-fixed-size-octet-vector (sz)
Package

cl-mongo.

Source

octets.lisp.

Function: make-int-vector (sz &key init-fill)
Package

cl-mongo.

Source

bson-array.lisp.

Function: make-kv-container ()
Package

cl-mongo.

Source

pair.lisp.

Function: make-mongo (&key host port db name)
Package

cl-mongo.

Source

mongo.lisp.

Function: make-octet-vector (sz &key init-fill)
Package

cl-mongo.

Source

octets.lisp.

Function: map-reduce-op (op lst)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Function: mongo-ids ()
Package

cl-mongo.

Source

mongo.lisp.

Function: mongo-registry ()
Package

cl-mongo.

Source

mongo.lisp.

Function: mongo-reply (array)

Extract reply parameters

Package

cl-mongo.

Source

protocol.lisp.

Function: mongodb-reader (coll lock cv &key query mongo limit selector)
Package

cl-mongo.

Source

do-query.lisp.

Function: mr.collections (&key mongo)
Package

cl-mongo.

Source

map-reduce.lisp.

Function: mr.gc* (query &key mongo)
Package

cl-mongo.

Source

map-reduce.lisp.

Function: new-line (stream)
Package

cl-mongo.

Source

shell.lisp.

Function: normalize-args (lst &optional accum)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Function: normalize-array (array)
Package

cl-mongo.

Source

bson-array.lisp.

Function: normalize-bson-array (array)
Package

cl-mongo.

Source

bson-array.lisp.

Function: null-terminate-array (array)
Package

cl-mongo.

Source

bson.lisp.

Function: null-terminated-octet-to-string (arr length)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-byte (vec)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-byte.1 (vec start)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-int32 (vec)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-int32.1 (vec start)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-int64 (vec)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-int64.1 (vec start)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-uint64 (vec)
Package

cl-mongo.

Source

octets.lisp.

Function: octet-to-uint64.1 (vec start)
Package

cl-mongo.

Source

octets.lisp.

Function: op-split (lst &optional accum)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Function: pair (key value)
Package

cl-mongo.

Source

pair.lisp.

Reader: pair-key (instance)
Writer: (setf pair-key) (instance)
Package

cl-mongo.

Source

pair.lisp.

Target Slot

key.

Function: pair-p (object)
Package

cl-mongo.

Source

pair.lisp.

Reader: pair-value (instance)
Writer: (setf pair-value) (instance)
Package

cl-mongo.

Source

pair.lisp.

Target Slot

value.

Function: perf.db.find (collection qm &key query mongo options skip limit selector)
Package

cl-mongo.

Source

do-query.lisp.

Function: perf.mongo-reply (array)
Package

cl-mongo.

Source

do-query.lisp.

Function: pop-from-array (arr)
Package

cl-mongo.

Source

bson-array.lisp.

Function: positive (val)
Package

cl-mongo.

Source

octets.lisp.

Function: print-doc (doc &key order nl msg)
Package

cl-mongo.

Source

shell.lisp.

Function: print-hash (ht stream &key max)
Package

cl-mongo.

Source

document.lisp.

Function: queue-reader (fn lock cv lock2 cv2)
Package

cl-mongo.

Source

do-query.lisp.

Function: read-back (mongo)
Package

cl-mongo.

Source

mongo.lisp.

Function: read-buffer (mongo timeout state &optional accum)
Package

cl-mongo.

Source

mongo.lisp.

Function: read-ready (mongo timeout)
Package

cl-mongo.

Source

mongo.lisp.

Function: rebuild* (l accum)
Package

cl-mongo.

Source

doc.lisp.

Function: reclaim-memory ()
Package

cl-mongo.

Source

mem.lisp.

Function: restore-default-connection (name)
Package

cl-mongo.

Source

mongo.lisp.

Function: rm* (result &key mongo)

Delete all the documents returned by a query. This is not an efficient way of deleting documents as it invloves multiple trips to the server. Mongo allows for execution of java-script on the server side, which provides an alternative. Typical use would be (rm (iter (db.find ’foo’ (kv ’key’ 1)))), which deletes all documents in foo, with field key equal to 1.

Package

cl-mongo.

Source

shell.lisp.

Function: scale (mantissa exponent mantissa-bits)
Package

cl-mongo.

Source

encode-float.lisp.

Function: scale-integer (value bits)
Package

cl-mongo.

Source

encode-float.lisp.

Function: segment* (str accum)
Package

cl-mongo.

Source

doc.lisp.

Function: select-body (str)
Package

cl-mongo.

Source

doc.lisp.

Function: set-array-length (array &key start)
Package

cl-mongo.

Source

bson.lisp.

Function: set-octets (start source target)
Package

cl-mongo.

Source

octets.lisp.

Function: slurp-stream (stream)
Package

cl-mongo.

Source

doc.lisp.

Function: str-md5 (md5)
Package

cl-mongo.

Source

bson-binary.lisp.

Function: string-replace (sep new str)
Package

cl-mongo.

Source

doc.lisp.

Function: string-replace* (sep new str)
Package

cl-mongo.

Source

doc.lisp.

Function: string-to-null-terminated-octet (str)
Package

cl-mongo.

Source

octets.lisp.

Function: strip-comments (str)
Package

cl-mongo.

Source

doc.lisp.

Function: switch-default-connection (name &key host db port)
Package

cl-mongo.

Source

mongo.lisp.

Function: test-for-readback (stream timeout)
Package

cl-mongo.

Source

mongo.lisp.

Function: test-for-readback* (stream timeout)
Package

cl-mongo.

Source

mongo.lisp.

Function: th-reader (fun lock-q cv-q lock-r cv-r)
Package

cl-mongo.

Source

do-query.lisp.

Function: th-status ()
Package

cl-mongo.

Source

do-query.lisp.

Function: th-writer (coll lock cv &key query mongo limit selector)
Package

cl-mongo.

Source

do-query.lisp.

Function: to-octet (val size)
Package

cl-mongo.

Source

octets.lisp.

Function: to-signed-value (value &key size max-uint)
Package

cl-mongo.

Source

octets.lisp.

Function: to-val (vec size)
Package

cl-mongo.

Source

octets.lisp.

Function: to-val.1 (vec start size)
Package

cl-mongo.

Source

octets.lisp.

Function: tor (fn)
Package

cl-mongo.

Source

do-query.lisp.

Function: unwrap (lst)
Package

cl-mongo.

Source

mongo-syntax.lisp.

Function: update-options (&key upsert multi-update)
Package

cl-mongo.

Source

protocol.lisp.

Function: write-file (path str)
Package

cl-mongo.

Source

doc.lisp.


6.2.5 Generic functions

Generic Function: _id (bson-oid)

return a 12 byte array, irrespective of the internals of bson-oid, which may have a larger array

Package

cl-mongo.

Source

bson-oid.lisp.

Methods
Reader Method: _id ((document document))

automatically generated reader method

Source

document.lisp.

Target Slot

_id.

Method: _id ((bson-oid bson-oid))
Generic Reader: _local (object)
Package

cl-mongo.

Methods
Reader Method: _local ((document document))

automatically generated reader method

Source

document.lisp.

Target Slot

_local_id.

Generic Function: bson-array-pop (array)

pop element from arrray

Package

cl-mongo.

Source

bson-array.lisp.

Methods
Method: bson-array-pop ((array bson-array))
Generic Function: bson-array-pop-element (array)
Package

cl-mongo.

Methods
Method: bson-array-pop-element ((array bson-array))
Source

bson-array.lisp.

Generic Function: bson-array-push (element array)

push element to arrray

Package

cl-mongo.

Source

bson-array.lisp.

Methods
Method: bson-array-push (element (array bson-array))
Generic Function: bson-array-reset (array)
Package

cl-mongo.

Source

bson-array.lisp.

Methods
Method: bson-array-reset ((array bson-array))
Generic Function: bson-binary (type data)

Create a bson serializable binary object. type is a keyword; either one of :function :binary :uuid :md5 or :user. data is the data encapsulated by this type.

Package

cl-mongo.

Source

bson-binary.lisp.

Methods
Method: bson-binary ((type (eql 128)) data)
Method: bson-binary ((type (eql :user)) data)
Method: bson-binary ((type (eql 3)) data)
Method: bson-binary ((type (eql :uuid)) data)
Method: bson-binary ((type (eql 5)) data)
Method: bson-binary ((type (eql :md5)) data)
Method: bson-binary ((type (eql 2)) data)
Method: bson-binary ((type (eql :binary)) data)
Method: bson-binary ((type (eql 1)) data)
Method: bson-binary ((type (eql :function)) data)
Generic Function: bson-encode (key value &key array size type encoder)

encode a bson data element

Package

cl-mongo.

Source

bson.lisp.

Methods
Method: bson-encode ((key string) (value pair) &key)
Source

bson-encode-container.lisp.

Method: bson-encode ((key string) (value kv-container) &key)
Source

bson-encode-container.lisp.

Method: bson-encode ((key string) (value document) &key)
Source

bson-encode-container.lisp.

Method: bson-encode ((key string) (value hash-table) &key)
Source

bson-encode-container.lisp.

Method: bson-encode ((key string) (value cons) &key)
Source

bson-array.lisp.

Method: bson-encode ((key string) (value bson-array) &key array size type encoder)
Source

bson-array.lisp.

Method: bson-encode ((key string) (value bson-regex) &key array)
Method: bson-encode ((key string) (value float) &key array)
Method: bson-encode ((key string) (value integer) &key array)
Method: bson-encode ((key string) (value string) &key array type)
Method: bson-encode ((key string) (value bson-oid) &key array)
Method: bson-encode ((key string) (value symbol) &key array)
Method: bson-encode ((key string) (value bson-code) &key array)
Method: bson-encode ((key string) (value bson-time) &key array)
Method: bson-encode ((key string) (value (eql nil)) &key array)
Method: bson-encode ((key string) (value (eql t)) &key array)
Method: bson-encode ((key string) (value array) &key array type encoder)
Method: bson-encode ((key string) (value bson-binary) &key array type)

the ordinary binary type as some structure in that the length of the binary array is encoded

Method: bson-encode ((key string) (value bson-binary-base) &key array type)
Method: bson-encode ((key integer) value &key)
Method: bson-encode ((key (eql nil)) (value (eql nil)) &key array)
Method: bson-encode ((key string) value &key array type encoder)
Generic Function: bson-encode-container (container &key array size)

encode a container of key-value pairs..

Package

cl-mongo.

Source

bson-encode-container.lisp.

Methods
Method: bson-encode-container ((kv pair) &key)
Method: bson-encode-container ((kv-container kv-container) &key array size)
Method: bson-encode-container ((container hash-table) &key array size)
Method: bson-encode-container ((container document) &key array size)
Method: bson-encode-container ((container (eql nil)) &key array)
Generic Reader: code (object)
Package

cl-mongo.

Methods
Reader Method: code ((bson-code bson-code))

automatically generated reader method

Source

bson-code.lisp.

Target Slot

code.

Generic Reader: container (object)
Package

cl-mongo.

Methods
Reader Method: container ((kv-container kv-container))

automatically generated reader method

Source

pair.lisp.

Target Slot

container.

Generic Writer: (setf container) (object)
Package

cl-mongo.

Methods
Writer Method: (setf container) ((kv-container kv-container))

automatically generated writer method

Source

pair.lisp.

Target Slot

container.

Generic Reader: data (object)
Package

cl-mongo.

Methods
Reader Method: data ((bson-binary-base bson-binary-base))

automatically generated reader method

Source

bson-binary.lisp.

Target Slot

data.

Generic Reader: data-array (object)
Package

cl-mongo.

Methods
Reader Method: data-array ((bson-array bson-array))

automatically generated reader method

Source

bson-array.lisp.

Target Slot

array.

Generic Writer: (setf data-array) (object)
Package

cl-mongo.

Methods
Writer Method: (setf data-array) ((bson-array bson-array))

automatically generated writer method

Source

bson-array.lisp.

Target Slot

array.

Generic Reader: db (object)
Package

cl-mongo.

Methods
Reader Method: db ((mongo mongo))

automatically generated reader method

Source

mongo.lisp.

Target Slot

db.

Generic Writer: (setf db) (object)
Package

cl-mongo.

Methods
Writer Method: (setf db) ((mongo mongo))

automatically generated writer method

Source

mongo.lisp.

Target Slot

db.

Generic Function: decode (time)

decode the bson-time for human consumption

Package

cl-mongo.

Source

bson-time.lisp.

Methods
Method: decode ((bson-time bson-time))
Generic Function: doc-elements (document)
Package

cl-mongo.

Source

document.lisp.

Methods
Method: doc-elements ((document document))
Method: doc-elements ((document hash-table))
Generic Reader: elements (object)
Package

cl-mongo.

Methods
Reader Method: elements ((document document))

automatically generated reader method

Source

document.lisp.

Target Slot

elements.

Generic Writer: (setf elements) (object)
Package

cl-mongo.

Methods
Writer Method: (setf elements) ((document document))

automatically generated writer method

Source

document.lisp.

Target Slot

elements.

Generic Function: elp (element)
Package

cl-mongo.

Source

shell.lisp.

Methods
Method: elp ((element cons))
Method: elp ((doc document))
Method: elp (element)
Generic Function: fmt (bson-time &optional stream)

format bson time to be in human readable form

Package

cl-mongo.

Source

bson-time.lisp.

Methods
Method: fmt ((bson-time bson-time) &optional stream)
Generic Function: full-collection-name (mongo collection)

generate the full collection name

Package

cl-mongo.

Source

db.lisp.

Methods
Method: full-collection-name ((mongo mongo) (collection string))
Generic Function: get-id (id)
Package

cl-mongo.

Source

document.lisp.

Methods
Method: get-id ((id bson-oid))
Method: get-id (id)
Generic Reader: host (object)
Package

cl-mongo.

Methods
Reader Method: host ((mongo mongo))

automatically generated reader method

Source

mongo.lisp.

Target Slot

host.

Generic Reader: id (object)
Package

cl-mongo.

Methods
Reader Method: id ((mongo mongo))

automatically generated reader method

Source

mongo.lisp.

Target Slot

id.

Reader Method: id ((bson-oid bson-oid))

automatically generated reader method

Source

bson-oid.lisp.

Target Slot

id.

Generic Reader: index-array (object)
Package

cl-mongo.

Methods
Reader Method: index-array ((bson-array bson-array))

automatically generated reader method

Source

bson-array.lisp.

Target Slot

index-array.

Generic Writer: (setf index-array) (object)
Package

cl-mongo.

Methods
Writer Method: (setf index-array) ((bson-array bson-array))

automatically generated writer method

Source

bson-array.lisp.

Target Slot

index-array.

Generic Function: kv->doc (kv)

turn a pair of key/value pairs into a document

Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv->doc ((kv hash-table))
Method: kv->doc ((kv-container kv-container))
Method: kv->doc ((kv pair))
Generic Function: kv->ht (kv)

turn a pair of key/value pairs into a hash table

Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv->ht ((kv-container kv-container))
Method: kv->ht ((kv hash-table))
Method: kv->ht ((kv pair))
Generic Function: kv-container-add (pair container)
Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv-container-add ((contb kv-container) (kv-container kv-container))
Method: kv-container-add ((pair pair) (kv-container kv-container))
Generic Function: kv-container-aref (cont index)
Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv-container-aref ((index integer) (kv-container kv-container))
Generic Function: kv-container-kv (index cont)
Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv-container-kv ((index integer) (kv-container kv-container))
Generic Function: kv-container-length (cont)
Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv-container-length ((kv-container kv-container))
Generic Function: kv-container-pop (cont)
Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv-container-pop ((kv-container kv-container))
Generic Function: kv-container-push (el cont)
Package

cl-mongo.

Source

pair.lisp.

Methods
Method: kv-container-push ((el pair) (kv-container kv-container))
Generic Reader: local (object)
Package

cl-mongo.

Methods
Reader Method: local ((bson-time bson-time))

automatically generated reader method

Source

bson-time.lisp.

Target Slot

local.

Generic Function: mongo-delete (collection object)

delete a mongo object

Package

cl-mongo.

Source

protocol.lisp.

Methods
Method: mongo-delete ((collection string) (object document))
Method: mongo-delete ((collection string) (selector array))
Generic Function: mongo-get-more (collection cursor &key limit)

iterate the db cursor..

Package

cl-mongo.

Source

protocol.lisp.

Methods
Method: mongo-get-more ((collection string) (cursor array) &key limit)
Generic Function: mongo-insert (collection documents)

insert function for mongo

Package

cl-mongo.

Source

protocol.lisp.

Methods
Method: mongo-insert ((collection string) (documents cons))
Method: mongo-insert ((collection string) (document document))
Method: mongo-insert ((collection string) (document array))
Generic Function: mongo-kill-cursors (cursor count)

tell the db you’re done with the cursors

Package

cl-mongo.

Source

protocol.lisp.

Methods
Method: mongo-kill-cursors ((cursor array) (count (eql 1)))
Generic Function: mongo-message (mongo message &key timeout)

message to/from mongo..

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: mongo-message ((mongo mongo) (message array) &key timeout)
Generic Function: mongo-message* (mongo message &key timeout)
Package

cl-mongo.

Methods
Method: mongo-message* ((mongo mongo) (message array) &key timeout)
Source

mongo.lisp.

Generic Function: mongo-query (collection query &key options skip limit selector)

query a bson database

Package

cl-mongo.

Source

protocol.lisp.

Methods
Method: mongo-query ((collection string) (query hash-table) &key options skip limit selector)
Method: mongo-query ((collection string) query &key options skip limit selector)
Generic Function: mongo-stream (mongo)

mongo stream socket..

Package

cl-mongo.

Source

mongo.lisp.

Methods
Method: mongo-stream ((mongo mongo))
Generic Function: mongo-update (collection selector document &key options)

insert function for mongo

Package

cl-mongo.

Source

protocol.lisp.

Methods
Method: mongo-update ((collection string) (selector array) (document array) &key options)
Generic Reader: name (object)
Package

cl-mongo.

Methods
Reader Method: name ((mongo mongo))

automatically generated reader method

Source

mongo.lisp.

Target Slot

name.

Generic Writer: (setf name) (object)
Package

cl-mongo.

Methods
Writer Method: (setf name) ((mongo mongo))

automatically generated writer method

Source

mongo.lisp.

Target Slot

name.

Generic Reader: options (object)
Package

cl-mongo.

Methods
Reader Method: options ((bson-regex bson-regex))

automatically generated reader method

Source

bson-regex.lisp.

Target Slot

options.

Generic Reader: port (object)
Package

cl-mongo.

Methods
Reader Method: port ((mongo mongo))

automatically generated reader method

Source

mongo.lisp.

Target Slot

port.

Generic Function: pp* (result &key stream nd)
Package

cl-mongo.

Methods
Method: pp* ((result cons) &key stream nd)
Source

shell.lisp.

Generic Function: print-object.1 (document stream)
Package

cl-mongo.

Methods
Method: print-object.1 ((document document) stream)
Source

document.lisp.

Generic Function: print-object.2 (document stream)
Package

cl-mongo.

Methods
Method: print-object.2 ((document document) stream)
Source

document.lisp.

Generic Reader: raw (object)
Package

cl-mongo.

Methods
Reader Method: raw ((bson-time bson-time))

automatically generated reader method

Source

bson-time.lisp.

Target Slot

raw.

Generic Reader: regex (object)
Package

cl-mongo.

Methods
Reader Method: regex ((bson-regex bson-regex))

automatically generated reader method

Source

bson-regex.lisp.

Target Slot

regex.

Generic Function: rep (stream bson-binary)

a human-readable representation of the binary data .

Package

cl-mongo.

Source

bson-binary.lisp.

Methods
Method: rep :after (stream (bson-binary bson-binary-md5))
Method: rep (stream (bson-binary bson-binary-base))
Generic Reader: type-id (object)
Package

cl-mongo.

Methods
Reader Method: type-id ((bson-binary-user bson-binary-user))

automatically generated reader method

Source

bson-binary.lisp.

Target Slot

type-id.

Reader Method: type-id ((bson-binary-md5 bson-binary-md5))

automatically generated reader method

Source

bson-binary.lisp.

Target Slot

type-id.

Reader Method: type-id ((bson-binary-uuid bson-binary-uuid))

automatically generated reader method

Source

bson-binary.lisp.

Target Slot

type-id.

Reader Method: type-id ((bson-binary bson-binary))

automatically generated reader method

Source

bson-binary.lisp.

Target Slot

type-id.

Reader Method: type-id ((bson-binary-function bson-binary-function))

automatically generated reader method

Source

bson-binary.lisp.

Target Slot

type-id.


6.2.6 Structures

Structure: pair
Package

cl-mongo.

Source

pair.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: key
Readers

pair-key.

Writers

(setf pair-key).

Slot: value
Readers

pair-value.

Writers

(setf pair-value).


6.2.7 Classes

Class: bson-array
Package

cl-mongo.

Source

bson-array.lisp.

Direct methods
Direct slots
Slot: array
Package

common-lisp.

Initargs

:data-array

Readers

data-array.

Writers

(setf data-array).

Slot: index-array
Initargs

:index-array

Readers

index-array.

Writers

(setf index-array).

Class: bson-binary

bson ordinary binary type

Package

cl-mongo.

Source

bson-binary.lisp.

Direct superclasses

bson-binary-base.

Direct methods
Direct slots
Slot: type-id
Initform

cl-mongo::+bson-binary+

Readers

type-id.

Writers

This slot is read-only.

Class: bson-binary-base

bson binary type; this is the base class.

Package

cl-mongo.

Source

bson-binary.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: data
Initargs

:data

Readers

data.

Writers

This slot is read-only.

Class: bson-binary-function

bson function binary type

Package

cl-mongo.

Source

bson-binary.lisp.

Direct superclasses

bson-binary-base.

Direct methods

type-id.

Direct slots
Slot: type-id
Initform

cl-mongo::+bson-binary-function+

Readers

type-id.

Writers

This slot is read-only.

Class: bson-binary-md5

bson md5 binary type

Package

cl-mongo.

Source

bson-binary.lisp.

Direct superclasses

bson-binary-base.

Direct methods
Direct slots
Slot: type-id
Initform

cl-mongo::+bson-binary-md5+

Readers

type-id.

Writers

This slot is read-only.

Class: bson-binary-user

bson user defined binary type

Package

cl-mongo.

Source

bson-binary.lisp.

Direct superclasses

bson-binary-base.

Direct methods

type-id.

Direct slots
Slot: type-id
Initform

cl-mongo::+bson-binary-user+

Readers

type-id.

Writers

This slot is read-only.

Class: bson-binary-uuid

bson uuid binary type

Package

cl-mongo.

Source

bson-binary.lisp.

Direct superclasses

bson-binary-base.

Direct methods

type-id.

Direct slots
Slot: type-id
Initform

cl-mongo::+bson-binary-uuid+

Readers

type-id.

Writers

This slot is read-only.

Class: bson-code
Package

cl-mongo.

Source

bson-code.lisp.

Direct methods
Direct slots
Slot: code
Initargs

:code

Readers

code.

Writers

This slot is read-only.

Class: bson-oid
Package

cl-mongo.

Source

bson-oid.lisp.

Direct methods
Direct Default Initargs
InitargValue
:oid(uuid-to-byte-array (make-v4-uuid))
Direct slots
Slot: id
Initargs

:oid

Readers

id.

Writers

This slot is read-only.

Class: bson-regex
Package

cl-mongo.

Source

bson-regex.lisp.

Direct methods
Direct slots
Slot: regex
Initargs

:regex

Readers

regex.

Writers

This slot is read-only.

Slot: options
Initargs

:options

Readers

options.

Writers

This slot is read-only.

Class: bson-time
Package

cl-mongo.

Source

bson-time.lisp.

Direct methods
Direct Default Initargs
InitargValue
:localt
:raw(gmt-to-bson-time (get-universal-time))
Direct slots
Slot: raw
Initargs

:raw

Readers

raw.

Writers

This slot is read-only.

Slot: local
Initargs

:local

Readers

local.

Writers

This slot is read-only.

Class: kv-container
Package

cl-mongo.

Source

pair.lisp.

Direct methods
Direct slots
Slot: container
Initform

(make-array 2 :fill-pointer 0 :adjustable t)

Readers

container.

Writers

(setf container).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   $   (   _  
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   W  
Index Entry  Section

$
$: Public macros
$!=: Public macros
$!in: Public macros
$+: Public macros
$-: Public macros
$/: Public macros
$<: Public macros
$<=: Public macros
$>: Public macros
$>=: Public macros
$add-to-set: Public macros
$all: Public macros
$em: Public macros
$exists: Public macros
$exp+: Private macros
$in: Public macros
$inc: Public macros
$index: Public macros
$kv-eval: Private macros
$map-reduce: Public macros
$mod: Public macros
$not: Public macros
$op: Private macros
$op*: Private macros
$pop-back: Public macros
$pop-front: Public macros
$pull: Public macros
$pull-all: Public macros
$push: Public macros
$push-all: Public macros
$range: Private macros
$set: Public macros
$size: Private macros
$unset: Public macros
$where: Public macros

(
(setf container): Private generic functions
(setf container): Private generic functions
(setf data-array): Private generic functions
(setf data-array): Private generic functions
(setf db): Private generic functions
(setf db): Private generic functions
(setf elements): Private generic functions
(setf elements): Private generic functions
(setf index-array): Private generic functions
(setf index-array): Private generic functions
(setf name): Private generic functions
(setf name): Private generic functions
(setf pair-key): Private ordinary functions
(setf pair-value): Private ordinary functions
(setf socket): Public standalone methods

_
_id: Private generic functions
_id: Private generic functions
_id: Private generic functions
_local: Private generic functions
_local: Private generic functions

A
add-element: Public generic functions
add-element: Public generic functions
add-element: Public generic functions
add-integer: Private ordinary functions
add-octets: Private ordinary functions
add-to-array: Private ordinary functions
add-to-registry: Private ordinary functions
append-to-octet-vector: Private ordinary functions
asc/desc->+1/-1: Private ordinary functions

B
bind-return: Private ordinary functions
bool-to-byte: Private ordinary functions
bson-array-pop: Private generic functions
bson-array-pop: Private generic functions
bson-array-pop-element: Private generic functions
bson-array-pop-element: Private generic functions
bson-array-push: Private generic functions
bson-array-push: Private generic functions
bson-array-reset: Private generic functions
bson-array-reset: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-binary: Private generic functions
bson-decode: Private ordinary functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode: Private generic functions
bson-encode-array: Private ordinary functions
bson-encode-cons: Private ordinary functions
bson-encode-container: Private generic functions
bson-encode-container: Private generic functions
bson-encode-container: Private generic functions
bson-encode-container: Private generic functions
bson-encode-container: Private generic functions
bson-encode-container: Private generic functions
bson-time-to-ut: Public ordinary functions
byte-to-bool: Private ordinary functions
byte-to-octet: Private ordinary functions

C
code: Private generic functions
code: Private generic functions
collect-all-elements: Public ordinary functions
collect-args: Private ordinary functions
collect-to-hash: Private ordinary functions
connection?: Private ordinary functions
construct-$+-: Private macros
construct-container*: Private macros
construct-container-lst*: Private macros
container: Private generic functions
container: Private generic functions
copy-pair: Private ordinary functions
count-it: Private ordinary functions
customize: Private ordinary functions
cwd: Public ordinary functions

D
data: Private generic functions
data: Private generic functions
data-array: Private generic functions
data-array: Private generic functions
date-time: Public ordinary functions
db: Private generic functions
db: Private generic functions
db.add-user: Public generic functions
db.add-user: Public generic functions
db.auth: Public generic functions
db.auth: Public generic functions
db.collections: Public generic functions
db.collections: Public generic functions
db.count: Public generic functions
db.count: Public generic functions
db.count: Public generic functions
db.count: Public generic functions
db.create-collection: Public generic functions
db.delete: Public generic functions
db.delete: Public generic functions
db.delete: Public generic functions
db.delete: Public generic functions
db.delete: Public generic functions
db.delete: Public generic functions
db.distinct: Public generic functions
db.distinct: Public generic functions
db.ensure-index: Public generic functions
db.ensure-index: Public generic functions
db.ensure-index: Public generic functions
db.ensure-index: Public generic functions
db.ensure-index: Public generic functions
db.eval: Public generic functions
db.eval: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.find: Public generic functions
db.indexes: Public generic functions
db.indexes: Public generic functions
db.insert: Public generic functions
db.insert: Public generic functions
db.iter: Public generic functions
db.iter: Public generic functions
db.iter: Public generic functions
db.iterator: Public ordinary functions
db.next: Public generic functions
db.next: Public generic functions
db.next: Public generic functions
db.next: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.run-command: Public generic functions
db.save: Public generic functions
db.save: Public generic functions
db.save: Public generic functions
db.save: Public generic functions
db.sort: Public macros
db.stop: Public generic functions
db.stop: Public generic functions
db.stop: Public generic functions
db.stop: Public generic functions
db.stop: Public generic functions
db.update: Public generic functions
db.update: Public generic functions
db.use: Public generic functions
db.use: Public generic functions
db.use: Public generic functions
decode: Private generic functions
decode: Private generic functions
decode-double-float-bits: Private ordinary functions
decode-float-bits: Private ordinary functions
default?: Private ordinary functions
defjs: Public macros
defsrvjs: Public macros
denormalize: Private ordinary functions
describe-object: Public standalone methods
do-query: Public ordinary functions
do-reduce: Private ordinary functions
doc-elements: Private generic functions
doc-elements: Private generic functions
doc-elements: Private generic functions
doc-id: Public ordinary functions
docs: Public ordinary functions

E
elements: Private generic functions
elements: Private generic functions
elp: Private generic functions
elp: Private generic functions
elp: Private generic functions
elp: Private generic functions
empty-str: Private ordinary functions
encode-double-float-bits: Private ordinary functions
encode-float-bits: Private ordinary functions
end-of-key: Private ordinary functions
error-on-key-exists: Private ordinary functions
expand-selector: Private macros

F
fmt: Private generic functions
fmt: Private generic functions
full-collection-name: Private generic functions
full-collection-name: Private generic functions
Function, (setf pair-key): Private ordinary functions
Function, (setf pair-value): Private ordinary functions
Function, add-integer: Private ordinary functions
Function, add-octets: Private ordinary functions
Function, add-to-array: Private ordinary functions
Function, add-to-registry: Private ordinary functions
Function, append-to-octet-vector: Private ordinary functions
Function, asc/desc->+1/-1: Private ordinary functions
Function, bind-return: Private ordinary functions
Function, bool-to-byte: Private ordinary functions
Function, bson-decode: Private ordinary functions
Function, bson-encode-array: Private ordinary functions
Function, bson-encode-cons: Private ordinary functions
Function, bson-time-to-ut: Public ordinary functions
Function, byte-to-bool: Private ordinary functions
Function, byte-to-octet: Private ordinary functions
Function, collect-all-elements: Public ordinary functions
Function, collect-args: Private ordinary functions
Function, collect-to-hash: Private ordinary functions
Function, connection?: Private ordinary functions
Function, copy-pair: Private ordinary functions
Function, count-it: Private ordinary functions
Function, customize: Private ordinary functions
Function, cwd: Public ordinary functions
Function, date-time: Public ordinary functions
Function, db.iterator: Public ordinary functions
Function, decode-double-float-bits: Private ordinary functions
Function, decode-float-bits: Private ordinary functions
Function, default?: Private ordinary functions
Function, denormalize: Private ordinary functions
Function, do-query: Public ordinary functions
Function, do-reduce: Private ordinary functions
Function, doc-id: Public ordinary functions
Function, docs: Public ordinary functions
Function, empty-str: Private ordinary functions
Function, encode-double-float-bits: Private ordinary functions
Function, encode-float-bits: Private ordinary functions
Function, end-of-key: Private ordinary functions
Function, error-on-key-exists: Private ordinary functions
Function, gen-clean: Private ordinary functions
Function, gendoc: Private ordinary functions
Function, generate-readme: Public ordinary functions
Function, get-all-values: Private ordinary functions
Function, gmt-to-bson-time: Private ordinary functions
Function, hash-keys: Private ordinary functions
Function, header+docsp: Private ordinary functions
Function, headerp: Private ordinary functions
Function, hex-md5: Private ordinary functions
Function, ht->document: Public ordinary functions
Function, ht->document.1: Private ordinary functions
Function, ht->list.1: Private ordinary functions
Function, ht-test: Private ordinary functions
Function, int32-to-octet: Private ordinary functions
Function, int64-to-octet: Private ordinary functions
Function, iter: Public ordinary functions
Function, js-show: Private ordinary functions
Function, load-file: Private ordinary functions
Function, make-bson-array: Private ordinary functions
Function, make-bson-code: Private ordinary functions
Function, make-bson-oid: Private ordinary functions
Function, make-bson-regex: Private ordinary functions
Function, make-bson-time: Private ordinary functions
Function, make-document: Public ordinary functions
Function, make-elements: Private ordinary functions
Function, make-fixed-size-octet-vector: Private ordinary functions
Function, make-int-vector: Private ordinary functions
Function, make-kv-container: Private ordinary functions
Function, make-mongo: Private ordinary functions
Function, make-octet-vector: Private ordinary functions
Function, map-reduce-op: Private ordinary functions
Function, mapdoc: Public ordinary functions
Function, mongo-ids: Private ordinary functions
Function, mongo-registry: Private ordinary functions
Function, mongo-reply: Private ordinary functions
Function, mongo-show: Public ordinary functions
Function, mongodb-reader: Private ordinary functions
Function, mr.collections: Private ordinary functions
Function, mr.gc: Public ordinary functions
Function, mr.gc*: Private ordinary functions
Function, mr.gc.all: Public ordinary functions
Function, mr.p: Public ordinary functions
Function, nd: Public ordinary functions
Function, new-line: Private ordinary functions
Function, normalize-args: Private ordinary functions
Function, normalize-array: Private ordinary functions
Function, normalize-bson-array: Private ordinary functions
Function, now: Public ordinary functions
Function, null-terminate-array: Private ordinary functions
Function, null-terminated-octet-to-string: Private ordinary functions
Function, nwd: Public ordinary functions
Function, octet-to-byte: Private ordinary functions
Function, octet-to-byte.1: Private ordinary functions
Function, octet-to-int32: Private ordinary functions
Function, octet-to-int32.1: Private ordinary functions
Function, octet-to-int64: Private ordinary functions
Function, octet-to-int64.1: Private ordinary functions
Function, octet-to-uint64: Private ordinary functions
Function, octet-to-uint64.1: Private ordinary functions
Function, op-split: Private ordinary functions
Function, pair: Private ordinary functions
Function, pair-key: Private ordinary functions
Function, pair-p: Private ordinary functions
Function, pair-value: Private ordinary functions
Function, perf.db.find: Private ordinary functions
Function, perf.mongo-reply: Private ordinary functions
Function, pop-from-array: Private ordinary functions
Function, positive: Private ordinary functions
Function, print-doc: Private ordinary functions
Function, print-hash: Private ordinary functions
Function, queue-reader: Private ordinary functions
Function, read-back: Private ordinary functions
Function, read-buffer: Private ordinary functions
Function, read-ready: Private ordinary functions
Function, rebuild*: Private ordinary functions
Function, reclaim-memory: Private ordinary functions
Function, restore-default-connection: Private ordinary functions
Function, ret: Public ordinary functions
Function, rm: Public ordinary functions
Function, rm*: Private ordinary functions
Function, scale: Private ordinary functions
Function, scale-integer: Private ordinary functions
Function, segment*: Private ordinary functions
Function, select-body: Private ordinary functions
Function, set-array-length: Private ordinary functions
Function, set-octets: Private ordinary functions
Function, slurp-stream: Private ordinary functions
Function, str-md5: Private ordinary functions
Function, string-replace: Private ordinary functions
Function, string-replace*: Private ordinary functions
Function, string-to-null-terminated-octet: Private ordinary functions
Function, strip-comments: Private ordinary functions
Function, switch-default-connection: Private ordinary functions
Function, test-for-readback: Private ordinary functions
Function, test-for-readback*: Private ordinary functions
Function, th-reader: Private ordinary functions
Function, th-status: Private ordinary functions
Function, th-writer: Private ordinary functions
Function, time-zone: Public ordinary functions
Function, to-octet: Private ordinary functions
Function, to-signed-value: Private ordinary functions
Function, to-val: Private ordinary functions
Function, to-val.1: Private ordinary functions
Function, tor: Private ordinary functions
Function, unwrap: Private ordinary functions
Function, update-options: Private ordinary functions
Function, write-file: Private ordinary functions

G
gen-clean: Private ordinary functions
gendoc: Private ordinary functions
generate-readme: Public ordinary functions
Generic Function, (setf container): Private generic functions
Generic Function, (setf data-array): Private generic functions
Generic Function, (setf db): Private generic functions
Generic Function, (setf elements): Private generic functions
Generic Function, (setf index-array): Private generic functions
Generic Function, (setf name): Private generic functions
Generic Function, add-element: Public generic functions
Generic Function, bson-array-pop: Private generic functions
Generic Function, bson-array-pop-element: Private generic functions
Generic Function, bson-array-push: Private generic functions
Generic Function, bson-array-reset: Private generic functions
Generic Function, bson-binary: Private generic functions
Generic Function, bson-encode: Private generic functions
Generic Function, bson-encode-container: Private generic functions
Generic Function, code: Private generic functions
Generic Function, container: Private generic functions
Generic Function, data: Private generic functions
Generic Function, data-array: Private generic functions
Generic Function, db: Private generic functions
Generic Function, db.add-user: Public generic functions
Generic Function, db.auth: Public generic functions
Generic Function, db.collections: Public generic functions
Generic Function, db.count: Public generic functions
Generic Function, db.create-collection: Public generic functions
Generic Function, db.delete: Public generic functions
Generic Function, db.distinct: Public generic functions
Generic Function, db.ensure-index: Public generic functions
Generic Function, db.eval: Public generic functions
Generic Function, db.find: Public generic functions
Generic Function, db.indexes: Public generic functions
Generic Function, db.insert: Public generic functions
Generic Function, db.iter: Public generic functions
Generic Function, db.next: Public generic functions
Generic Function, db.run-command: Public generic functions
Generic Function, db.save: Public generic functions
Generic Function, db.stop: Public generic functions
Generic Function, db.update: Public generic functions
Generic Function, db.use: Public generic functions
Generic Function, decode: Private generic functions
Generic Function, doc-elements: Private generic functions
Generic Function, elements: Private generic functions
Generic Function, elp: Private generic functions
Generic Function, fmt: Private generic functions
Generic Function, full-collection-name: Private generic functions
Generic Function, get-element: Public generic functions
Generic Function, get-id: Private generic functions
Generic Function, get-keys: Public generic functions
Generic Function, host: Private generic functions
Generic Function, id: Private generic functions
Generic Function, index-array: Private generic functions
Generic Function, kv: Public generic functions
Generic Function, kv->doc: Private generic functions
Generic Function, kv->ht: Private generic functions
Generic Function, kv-container-add: Private generic functions
Generic Function, kv-container-aref: Private generic functions
Generic Function, kv-container-kv: Private generic functions
Generic Function, kv-container-length: Private generic functions
Generic Function, kv-container-pop: Private generic functions
Generic Function, kv-container-push: Private generic functions
Generic Function, local: Private generic functions
Generic Function, mongo: Public generic functions
Generic Function, mongo-close: Public generic functions
Generic Function, mongo-delete: Private generic functions
Generic Function, mongo-get-more: Private generic functions
Generic Function, mongo-insert: Private generic functions
Generic Function, mongo-kill-cursors: Private generic functions
Generic Function, mongo-message: Private generic functions
Generic Function, mongo-message*: Private generic functions
Generic Function, mongo-query: Private generic functions
Generic Function, mongo-registered: Public generic functions
Generic Function, mongo-stream: Private generic functions
Generic Function, mongo-swap: Public generic functions
Generic Function, mongo-update: Private generic functions
Generic Function, name: Private generic functions
Generic Function, options: Private generic functions
Generic Function, port: Private generic functions
Generic Function, pp: Public generic functions
Generic Function, pp*: Private generic functions
Generic Function, print-object.1: Private generic functions
Generic Function, print-object.2: Private generic functions
Generic Function, raw: Private generic functions
Generic Function, regex: Private generic functions
Generic Function, rep: Private generic functions
Generic Function, rm-element: Public generic functions
Generic Function, show: Public generic functions
Generic Function, type-id: Private generic functions
Generic Function, _id: Private generic functions
Generic Function, _local: Private generic functions
get-all-values: Private ordinary functions
get-element: Public generic functions
get-element: Public generic functions
get-element: Public generic functions
get-element: Public generic functions
get-element: Public generic functions
get-element: Public generic functions
get-element: Public generic functions
get-id: Private generic functions
get-id: Private generic functions
get-id: Private generic functions
get-keys: Public generic functions
get-keys: Public generic functions
gmt-to-bson-time: Private ordinary functions

H
hash-keys: Private ordinary functions
header+docsp: Private ordinary functions
headerp: Private ordinary functions
hex-md5: Private ordinary functions
host: Private generic functions
host: Private generic functions
ht->document: Public ordinary functions
ht->document.1: Private ordinary functions
ht->list.1: Private ordinary functions
ht-test: Private ordinary functions

I
id: Private generic functions
id: Private generic functions
id: Private generic functions
index-array: Private generic functions
index-array: Private generic functions
initialize-instance: Public standalone methods
install-js: Public macros
int32-to-octet: Private ordinary functions
int64-to-octet: Private ordinary functions
iter: Public ordinary functions

J
js-show: Private ordinary functions
jsdef: Public macros
jssrvdef: Private macros

K
kv: Public generic functions
kv: Public generic functions
kv: Public generic functions
kv: Public generic functions
kv: Public generic functions
kv: Public generic functions
kv->doc: Private generic functions
kv->doc: Private generic functions
kv->doc: Private generic functions
kv->doc: Private generic functions
kv->ht: Private generic functions
kv->ht: Private generic functions
kv->ht: Private generic functions
kv->ht: Private generic functions
kv-container-add: Private generic functions
kv-container-add: Private generic functions
kv-container-add: Private generic functions
kv-container-aref: Private generic functions
kv-container-aref: Private generic functions
kv-container-kv: Private generic functions
kv-container-kv: Private generic functions
kv-container-length: Private generic functions
kv-container-length: Private generic functions
kv-container-pop: Private generic functions
kv-container-pop: Private generic functions
kv-container-push: Private generic functions
kv-container-push: Private generic functions

L
load-file: Private ordinary functions
local: Private generic functions
local: Private generic functions

M
Macro, $: Public macros
Macro, $!=: Public macros
Macro, $!in: Public macros
Macro, $+: Public macros
Macro, $-: Public macros
Macro, $/: Public macros
Macro, $<: Public macros
Macro, $<=: Public macros
Macro, $>: Public macros
Macro, $>=: Public macros
Macro, $add-to-set: Public macros
Macro, $all: Public macros
Macro, $em: Public macros
Macro, $exists: Public macros
Macro, $exp+: Private macros
Macro, $in: Public macros
Macro, $inc: Public macros
Macro, $index: Public macros
Macro, $kv-eval: Private macros
Macro, $map-reduce: Public macros
Macro, $mod: Public macros
Macro, $not: Public macros
Macro, $op: Private macros
Macro, $op*: Private macros
Macro, $pop-back: Public macros
Macro, $pop-front: Public macros
Macro, $pull: Public macros
Macro, $pull-all: Public macros
Macro, $push: Public macros
Macro, $push-all: Public macros
Macro, $range: Private macros
Macro, $set: Public macros
Macro, $size: Private macros
Macro, $unset: Public macros
Macro, $where: Public macros
Macro, construct-$+-: Private macros
Macro, construct-container*: Private macros
Macro, construct-container-lst*: Private macros
Macro, db.sort: Public macros
Macro, defjs: Public macros
Macro, defsrvjs: Public macros
Macro, expand-selector: Private macros
Macro, install-js: Public macros
Macro, jsdef: Public macros
Macro, jssrvdef: Private macros
Macro, remove-js: Public macros
Macro, set-keys: Private macros
Macro, upd: Private macros
Macro, with-indent: Private macros
Macro, with-mongo-connection: Public macros
make-bson-array: Private ordinary functions
make-bson-code: Private ordinary functions
make-bson-oid: Private ordinary functions
make-bson-regex: Private ordinary functions
make-bson-time: Private ordinary functions
make-document: Public ordinary functions
make-elements: Private ordinary functions
make-fixed-size-octet-vector: Private ordinary functions
make-int-vector: Private ordinary functions
make-kv-container: Private ordinary functions
make-mongo: Private ordinary functions
make-octet-vector: Private ordinary functions
map-reduce-op: Private ordinary functions
mapdoc: Public ordinary functions
Method, (setf container): Private generic functions
Method, (setf data-array): Private generic functions
Method, (setf db): Private generic functions
Method, (setf elements): Private generic functions
Method, (setf index-array): Private generic functions
Method, (setf name): Private generic functions
Method, (setf socket): Public standalone methods
Method, add-element: Public generic functions
Method, add-element: Public generic functions
Method, bson-array-pop: Private generic functions
Method, bson-array-pop-element: Private generic functions
Method, bson-array-push: Private generic functions
Method, bson-array-reset: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-binary: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode: Private generic functions
Method, bson-encode-container: Private generic functions
Method, bson-encode-container: Private generic functions
Method, bson-encode-container: Private generic functions
Method, bson-encode-container: Private generic functions
Method, bson-encode-container: Private generic functions
Method, code: Private generic functions
Method, container: Private generic functions
Method, data: Private generic functions
Method, data-array: Private generic functions
Method, db: Private generic functions
Method, db.add-user: Public generic functions
Method, db.auth: Public generic functions
Method, db.collections: Public generic functions
Method, db.count: Public generic functions
Method, db.count: Public generic functions
Method, db.count: Public generic functions
Method, db.delete: Public generic functions
Method, db.delete: Public generic functions
Method, db.delete: Public generic functions
Method, db.delete: Public generic functions
Method, db.delete: Public generic functions
Method, db.distinct: Public generic functions
Method, db.ensure-index: Public generic functions
Method, db.ensure-index: Public generic functions
Method, db.ensure-index: Public generic functions
Method, db.ensure-index: Public generic functions
Method, db.eval: Public generic functions
Method, db.find: Public generic functions
Method, db.find: Public generic functions
Method, db.find: Public generic functions
Method, db.find: Public generic functions
Method, db.find: Public generic functions
Method, db.find: Public generic functions
Method, db.find: Public generic functions
Method, db.indexes: Public generic functions
Method, db.insert: Public generic functions
Method, db.iter: Public generic functions
Method, db.iter: Public generic functions
Method, db.next: Public generic functions
Method, db.next: Public generic functions
Method, db.next: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.run-command: Public generic functions
Method, db.save: Public generic functions
Method, db.save: Public generic functions
Method, db.save: Public generic functions
Method, db.stop: Public generic functions
Method, db.stop: Public generic functions
Method, db.stop: Public generic functions
Method, db.stop: Public generic functions
Method, db.update: Public generic functions
Method, db.use: Public generic functions
Method, db.use: Public generic functions
Method, decode: Private generic functions
Method, describe-object: Public standalone methods
Method, doc-elements: Private generic functions
Method, doc-elements: Private generic functions
Method, elements: Private generic functions
Method, elp: Private generic functions
Method, elp: Private generic functions
Method, elp: Private generic functions
Method, fmt: Private generic functions
Method, full-collection-name: Private generic functions
Method, get-element: Public generic functions
Method, get-element: Public generic functions
Method, get-element: Public generic functions
Method, get-element: Public generic functions
Method, get-element: Public generic functions
Method, get-element: Public generic functions
Method, get-id: Private generic functions
Method, get-id: Private generic functions
Method, get-keys: Public generic functions
Method, host: Private generic functions
Method, id: Private generic functions
Method, id: Private generic functions
Method, index-array: Private generic functions
Method, initialize-instance: Public standalone methods
Method, kv: Public generic functions
Method, kv: Public generic functions
Method, kv: Public generic functions
Method, kv: Public generic functions
Method, kv: Public generic functions
Method, kv->doc: Private generic functions
Method, kv->doc: Private generic functions
Method, kv->doc: Private generic functions
Method, kv->ht: Private generic functions
Method, kv->ht: Private generic functions
Method, kv->ht: Private generic functions
Method, kv-container-add: Private generic functions
Method, kv-container-add: Private generic functions
Method, kv-container-aref: Private generic functions
Method, kv-container-kv: Private generic functions
Method, kv-container-length: Private generic functions
Method, kv-container-pop: Private generic functions
Method, kv-container-push: Private generic functions
Method, local: Private generic functions
Method, mongo: Public generic functions
Method, mongo-close: Public generic functions
Method, mongo-close: Public generic functions
Method, mongo-close: Public generic functions
Method, mongo-delete: Private generic functions
Method, mongo-delete: Private generic functions
Method, mongo-get-more: Private generic functions
Method, mongo-insert: Private generic functions
Method, mongo-insert: Private generic functions
Method, mongo-insert: Private generic functions
Method, mongo-kill-cursors: Private generic functions
Method, mongo-message: Private generic functions
Method, mongo-message*: Private generic functions
Method, mongo-query: Private generic functions
Method, mongo-query: Private generic functions
Method, mongo-registered: Public generic functions
Method, mongo-stream: Private generic functions
Method, mongo-swap: Public generic functions
Method, mongo-swap: Public generic functions
Method, mongo-swap: Public generic functions
Method, mongo-update: Private generic functions
Method, name: Private generic functions
Method, options: Private generic functions
Method, port: Private generic functions
Method, pp: Public generic functions
Method, pp: Public generic functions
Method, pp*: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object.1: Private generic functions
Method, print-object.2: Private generic functions
Method, raw: Private generic functions
Method, regex: Private generic functions
Method, rep: Private generic functions
Method, rep: Private generic functions
Method, rm-element: Public generic functions
Method, shared-initialize: Public standalone methods
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, show: Public generic functions
Method, socket: Public standalone methods
Method, type-id: Private generic functions
Method, type-id: Private generic functions
Method, type-id: Private generic functions
Method, type-id: Private generic functions
Method, type-id: Private generic functions
Method, _id: Private generic functions
Method, _id: Private generic functions
Method, _local: Private generic functions
mongo: Public generic functions
mongo: Public generic functions
mongo-close: Public generic functions
mongo-close: Public generic functions
mongo-close: Public generic functions
mongo-close: Public generic functions
mongo-delete: Private generic functions
mongo-delete: Private generic functions
mongo-delete: Private generic functions
mongo-get-more: Private generic functions
mongo-get-more: Private generic functions
mongo-ids: Private ordinary functions
mongo-insert: Private generic functions
mongo-insert: Private generic functions
mongo-insert: Private generic functions
mongo-insert: Private generic functions
mongo-kill-cursors: Private generic functions
mongo-kill-cursors: Private generic functions
mongo-message: Private generic functions
mongo-message: Private generic functions
mongo-message*: Private generic functions
mongo-message*: Private generic functions
mongo-query: Private generic functions
mongo-query: Private generic functions
mongo-query: Private generic functions
mongo-registered: Public generic functions
mongo-registered: Public generic functions
mongo-registry: Private ordinary functions
mongo-reply: Private ordinary functions
mongo-show: Public ordinary functions
mongo-stream: Private generic functions
mongo-stream: Private generic functions
mongo-swap: Public generic functions
mongo-swap: Public generic functions
mongo-swap: Public generic functions
mongo-swap: Public generic functions
mongo-update: Private generic functions
mongo-update: Private generic functions
mongodb-reader: Private ordinary functions
mr.collections: Private ordinary functions
mr.gc: Public ordinary functions
mr.gc*: Private ordinary functions
mr.gc.all: Public ordinary functions
mr.p: Public ordinary functions

N
name: Private generic functions
name: Private generic functions
nd: Public ordinary functions
new-line: Private ordinary functions
normalize-args: Private ordinary functions
normalize-array: Private ordinary functions
normalize-bson-array: Private ordinary functions
now: Public ordinary functions
null-terminate-array: Private ordinary functions
null-terminated-octet-to-string: Private ordinary functions
nwd: Public ordinary functions

O
octet-to-byte: Private ordinary functions
octet-to-byte.1: Private ordinary functions
octet-to-int32: Private ordinary functions
octet-to-int32.1: Private ordinary functions
octet-to-int64: Private ordinary functions
octet-to-int64.1: Private ordinary functions
octet-to-uint64: Private ordinary functions
octet-to-uint64.1: Private ordinary functions
op-split: Private ordinary functions
options: Private generic functions
options: Private generic functions

P
pair: Private ordinary functions
pair-key: Private ordinary functions
pair-p: Private ordinary functions
pair-value: Private ordinary functions
perf.db.find: Private ordinary functions
perf.mongo-reply: Private ordinary functions
pop-from-array: Private ordinary functions
port: Private generic functions
port: Private generic functions
positive: Private ordinary functions
pp: Public generic functions
pp: Public generic functions
pp: Public generic functions
pp*: Private generic functions
pp*: Private generic functions
print-doc: Private ordinary functions
print-hash: Private ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object.1: Private generic functions
print-object.1: Private generic functions
print-object.2: Private generic functions
print-object.2: Private generic functions

Q
queue-reader: Private ordinary functions

R
raw: Private generic functions
raw: Private generic functions
read-back: Private ordinary functions
read-buffer: Private ordinary functions
read-ready: Private ordinary functions
rebuild*: Private ordinary functions
reclaim-memory: Private ordinary functions
regex: Private generic functions
regex: Private generic functions
remove-js: Public macros
rep: Private generic functions
rep: Private generic functions
rep: Private generic functions
restore-default-connection: Private ordinary functions
ret: Public ordinary functions
rm: Public ordinary functions
rm*: Private ordinary functions
rm-element: Public generic functions
rm-element: Public generic functions

S
scale: Private ordinary functions
scale-integer: Private ordinary functions
segment*: Private ordinary functions
select-body: Private ordinary functions
set-array-length: Private ordinary functions
set-keys: Private macros
set-octets: Private ordinary functions
shared-initialize: Public standalone methods
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
show: Public generic functions
slurp-stream: Private ordinary functions
socket: Public standalone methods
str-md5: Private ordinary functions
string-replace: Private ordinary functions
string-replace*: Private ordinary functions
string-to-null-terminated-octet: Private ordinary functions
strip-comments: Private ordinary functions
switch-default-connection: Private ordinary functions

T
test-for-readback: Private ordinary functions
test-for-readback*: Private ordinary functions
th-reader: Private ordinary functions
th-status: Private ordinary functions
th-writer: Private ordinary functions
time-zone: Public ordinary functions
to-octet: Private ordinary functions
to-signed-value: Private ordinary functions
to-val: Private ordinary functions
to-val.1: Private ordinary functions
tor: Private ordinary functions
type-id: Private generic functions
type-id: Private generic functions
type-id: Private generic functions
type-id: Private generic functions
type-id: Private generic functions
type-id: Private generic functions

U
unwrap: Private ordinary functions
upd: Private macros
update-options: Private ordinary functions

W
with-indent: Private macros
with-mongo-connection: Public macros
write-file: Private ordinary functions


A.3 Variables

Jump to:   *   +   _  
A   C   D   E   H   I   K   L   N   O   P   R   S   T   V  
Index Entry  Section

*
*bt-time-zone*: Private special variables
*db.use-history*: Private special variables
*indent*: Private special variables
*js-definitions*: Private special variables
*mongo-default-db*: Public special variables
*mongo-default-host*: Public special variables
*mongo-default-port*: Public special variables
*mongo-registry*: Private special variables
*q*: Private special variables
*r*: Private special variables
*repo-root*: Public special variables
*runners*: Private special variables

+
+bson-binary+: Private constants
+bson-binary-function+: Private constants
+bson-binary-generic+: Private constants
+bson-binary-md5+: Private constants
+bson-binary-user+: Private constants
+bson-binary-uuid+: Private constants
+bson-data-array+: Private constants
+bson-data-binary+: Private constants
+bson-data-boolean+: Private constants
+bson-data-code+: Private constants
+bson-data-code_w_s+: Private constants
+bson-data-date+: Private constants
+bson-data-dbpointer+: Private constants
+bson-data-int32+: Private constants
+bson-data-long+: Private constants
+bson-data-max-key+: Private constants
+bson-data-min-key+: Private constants
+bson-data-null+: Private constants
+bson-data-number+: Private constants
+bson-data-object+: Private constants
+bson-data-oid+: Private constants
+bson-data-regex+: Private constants
+bson-data-string+: Private constants
+bson-data-symbol+: Private constants
+bson-data-timestamp+: Private constants
+bson-data-undefined+: Private constants
+bt-day-names+: Private special variables
+bt-months+: Private special variables
+default-array-size+: Private constants
+java-script-epoch+: Private constants
+max-uint32+: Private constants
+max-uint64+: Private constants
+milliseconds-multiplier+: Private constants
+mongo-delete+: Private constants
+mongo-get-more+: Private constants
+mongo-insert+: Private constants
+mongo-kill-cursors+: Private constants
+mongo-port+: Private constants
+mongo-query+: Private constants
+mongo-update+: Private constants

_
_id: Public classes
_local_id: Public classes

A
array: Private classes

C
code: Private classes
Constant, +bson-binary+: Private constants
Constant, +bson-binary-function+: Private constants
Constant, +bson-binary-generic+: Private constants
Constant, +bson-binary-md5+: Private constants
Constant, +bson-binary-user+: Private constants
Constant, +bson-binary-uuid+: Private constants
Constant, +bson-data-array+: Private constants
Constant, +bson-data-binary+: Private constants
Constant, +bson-data-boolean+: Private constants
Constant, +bson-data-code+: Private constants
Constant, +bson-data-code_w_s+: Private constants
Constant, +bson-data-date+: Private constants
Constant, +bson-data-dbpointer+: Private constants
Constant, +bson-data-int32+: Private constants
Constant, +bson-data-long+: Private constants
Constant, +bson-data-max-key+: Private constants
Constant, +bson-data-min-key+: Private constants
Constant, +bson-data-null+: Private constants
Constant, +bson-data-number+: Private constants
Constant, +bson-data-object+: Private constants
Constant, +bson-data-oid+: Private constants
Constant, +bson-data-regex+: Private constants
Constant, +bson-data-string+: Private constants
Constant, +bson-data-symbol+: Private constants
Constant, +bson-data-timestamp+: Private constants
Constant, +bson-data-undefined+: Private constants
Constant, +default-array-size+: Private constants
Constant, +java-script-epoch+: Private constants
Constant, +max-uint32+: Private constants
Constant, +max-uint64+: Private constants
Constant, +milliseconds-multiplier+: Private constants
Constant, +mongo-delete+: Private constants
Constant, +mongo-get-more+: Private constants
Constant, +mongo-insert+: Private constants
Constant, +mongo-kill-cursors+: Private constants
Constant, +mongo-port+: Private constants
Constant, +mongo-query+: Private constants
Constant, +mongo-update+: Private constants
container: Private classes

D
data: Private classes
db: Public classes

E
elements: Public classes

H
host: Public classes

I
id: Public classes
id: Private classes
index-array: Private classes

K
key: Private structures

L
local: Private classes

N
name: Public classes

O
options: Private classes

P
port: Public classes

R
raw: Private classes
regex: Private classes

S
Slot, array: Private classes
Slot, code: Private classes
Slot, container: Private classes
Slot, data: Private classes
Slot, db: Public classes
Slot, elements: Public classes
Slot, host: Public classes
Slot, id: Public classes
Slot, id: Private classes
Slot, index-array: Private classes
Slot, key: Private structures
Slot, local: Private classes
Slot, name: Public classes
Slot, options: Private classes
Slot, port: Public classes
Slot, raw: Private classes
Slot, regex: Private classes
Slot, socket: Public classes
Slot, type-id: Private classes
Slot, type-id: Private classes
Slot, type-id: Private classes
Slot, type-id: Private classes
Slot, type-id: Private classes
Slot, value: Private structures
Slot, _id: Public classes
Slot, _local_id: Public classes
socket: Public classes
Special Variable, *bt-time-zone*: Private special variables
Special Variable, *db.use-history*: Private special variables
Special Variable, *indent*: Private special variables
Special Variable, *js-definitions*: Private special variables
Special Variable, *mongo-default-db*: Public special variables
Special Variable, *mongo-default-host*: Public special variables
Special Variable, *mongo-default-port*: Public special variables
Special Variable, *mongo-registry*: Private special variables
Special Variable, *q*: Private special variables
Special Variable, *r*: Private special variables
Special Variable, *repo-root*: Public special variables
Special Variable, *runners*: Private special variables
Special Variable, +bt-day-names+: Private special variables
Special Variable, +bt-months+: Private special variables

T
type-id: Private classes
type-id: Private classes
type-id: Private classes
type-id: Private classes
type-id: Private classes

V
value: Private structures


A.4 Data types

Jump to:   B   C   D   E   F   J   K   M   O   P   R   S  
Index Entry  Section

B
bson-array: Private classes
bson-array.lisp: The cl-mongo/src/bson-array․lisp file
bson-binary: Private classes
bson-binary-base: Private classes
bson-binary-function: Private classes
bson-binary-md5: Private classes
bson-binary-user: Private classes
bson-binary-uuid: Private classes
bson-binary.lisp: The cl-mongo/src/bson-binary․lisp file
bson-code: Private classes
bson-code.lisp: The cl-mongo/src/bson-code․lisp file
bson-decode.lisp: The cl-mongo/src/bson-decode․lisp file
bson-encode-container.lisp: The cl-mongo/src/bson-encode-container․lisp file
bson-oid: Private classes
bson-oid.lisp: The cl-mongo/src/bson-oid․lisp file
bson-regex: Private classes
bson-regex.lisp: The cl-mongo/src/bson-regex․lisp file
bson-time: Private classes
bson-time.lisp: The cl-mongo/src/bson-time․lisp file
bson.lisp: The cl-mongo/src/bson․lisp file

C
cl-mongo: The cl-mongo system
cl-mongo: The cl-mongo package
cl-mongo-system: The cl-mongo-system package
cl-mongo.asd: The cl-mongo/cl-mongo․asd file
Class, bson-array: Private classes
Class, bson-binary: Private classes
Class, bson-binary-base: Private classes
Class, bson-binary-function: Private classes
Class, bson-binary-md5: Private classes
Class, bson-binary-user: Private classes
Class, bson-binary-uuid: Private classes
Class, bson-code: Private classes
Class, bson-oid: Private classes
Class, bson-regex: Private classes
Class, bson-time: Private classes
Class, document: Public classes
Class, kv-container: Private classes
Class, mongo: Public classes
copying: The cl-mongo/copying file

D
db.lisp: The cl-mongo/src/db․lisp file
do-query.lisp: The cl-mongo/src/do-query․lisp file
doc.lisp: The cl-mongo/src/doc․lisp file
document: Public classes
document.lisp: The cl-mongo/src/document․lisp file

E
encode-float.lisp: The cl-mongo/src/encode-float․lisp file

F
File, bson-array.lisp: The cl-mongo/src/bson-array․lisp file
File, bson-binary.lisp: The cl-mongo/src/bson-binary․lisp file
File, bson-code.lisp: The cl-mongo/src/bson-code․lisp file
File, bson-decode.lisp: The cl-mongo/src/bson-decode․lisp file
File, bson-encode-container.lisp: The cl-mongo/src/bson-encode-container․lisp file
File, bson-oid.lisp: The cl-mongo/src/bson-oid․lisp file
File, bson-regex.lisp: The cl-mongo/src/bson-regex․lisp file
File, bson-time.lisp: The cl-mongo/src/bson-time․lisp file
File, bson.lisp: The cl-mongo/src/bson․lisp file
File, cl-mongo.asd: The cl-mongo/cl-mongo․asd file
File, copying: The cl-mongo/copying file
File, db.lisp: The cl-mongo/src/db․lisp file
File, do-query.lisp: The cl-mongo/src/do-query․lisp file
File, doc.lisp: The cl-mongo/src/doc․lisp file
File, document.lisp: The cl-mongo/src/document․lisp file
File, encode-float.lisp: The cl-mongo/src/encode-float․lisp file
File, java-script.lisp: The cl-mongo/src/java-script․lisp file
File, map-reduce.lisp: The cl-mongo/src/map-reduce․lisp file
File, mem.lisp: The cl-mongo/src/mem․lisp file
File, mongo-syntax.lisp: The cl-mongo/src/mongo-syntax․lisp file
File, mongo.lisp: The cl-mongo/src/mongo․lisp file
File, octets.lisp: The cl-mongo/src/octets․lisp file
File, packages.lisp: The cl-mongo/src/packages․lisp file
File, pair.lisp: The cl-mongo/src/pair․lisp file
File, protocol.lisp: The cl-mongo/src/protocol․lisp file
File, readme.md: The cl-mongo/readme․md file
File, shell.lisp: The cl-mongo/src/shell․lisp file

J
java-script.lisp: The cl-mongo/src/java-script․lisp file

K
kv-container: Private classes

M
map-reduce.lisp: The cl-mongo/src/map-reduce․lisp file
mem.lisp: The cl-mongo/src/mem․lisp file
Module, src: The cl-mongo/src module
mongo: Public classes
mongo-syntax.lisp: The cl-mongo/src/mongo-syntax․lisp file
mongo.lisp: The cl-mongo/src/mongo․lisp file

O
octets.lisp: The cl-mongo/src/octets․lisp file

P
Package, cl-mongo: The cl-mongo package
Package, cl-mongo-system: The cl-mongo-system package
packages.lisp: The cl-mongo/src/packages․lisp file
pair: Private structures
pair.lisp: The cl-mongo/src/pair․lisp file
protocol.lisp: The cl-mongo/src/protocol․lisp file

R
readme.md: The cl-mongo/readme․md file

S
shell.lisp: The cl-mongo/src/shell․lisp file
src: The cl-mongo/src module
Structure, pair: Private structures
System, cl-mongo: The cl-mongo system