Merge branch 'mongo-factor-driver' of git://github.com/x6j8x/factor
commit
2dc29fe831
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
Shared constants and classes
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
BSON to Factor deserializer
|
|
@ -0,0 +1 @@
|
||||||
|
BSON reader and writer
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
Factor to BSON serializer
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
serialization/deserialization and insert/query benchmarks for mongodb.driver
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
low-level connection handling for mongodb.driver
|
|
@ -280,9 +280,4 @@ HELP: with-db
|
||||||
}
|
}
|
||||||
{ $description "executes a quotation with the given mdb instance in its context" } ;
|
{ $description "executes a quotation with the given mdb instance in its context" } ;
|
||||||
|
|
||||||
ARTICLE: "mongodb.driver" "MongoDB factor driver"
|
|
||||||
{ $vocab-link "mongodb.driver" }
|
|
||||||
;
|
|
||||||
|
|
||||||
ABOUT: "mongodb.driver"
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
mongo-message-monitor - a small proxy to introspect messages send to MongoDB
|
|
@ -0,0 +1,27 @@
|
||||||
|
USING: assocs help.markup help.syntax kernel quotations ;
|
||||||
|
IN: mongodb
|
||||||
|
|
||||||
|
ARTICLE: "mongodb" "MongoDB factor integration"
|
||||||
|
"The " { $vocab-link "mongodb" } " vocabulary provides two different interfaces to the MongoDB document-oriented database"
|
||||||
|
{ $heading "Low-level driver" }
|
||||||
|
"The " { $vocab-link "mongodb.driver" } " vocabulary provides a low-level interface to MongoDB."
|
||||||
|
{ $unchecked-example
|
||||||
|
"USING: mongodb.driver ;"
|
||||||
|
"\"db\" \"127.0.0.1\" 27017 <mdb>"
|
||||||
|
"[ \"mycollection\" [ H{ { \"name\" \"Alfred\" } { \"age\" 57 } } save ] "
|
||||||
|
" [ ageIdx [ \"age\" asc ] key-spec <index-spec> ensure-index ]"
|
||||||
|
" [ H{ { \"age\" H{ { \"$gt\" 50 } } } } <query> find-one ] tri ] with-db "
|
||||||
|
"" }
|
||||||
|
{ $heading "Highlevel tuple integration" }
|
||||||
|
"The " { $vocab-link "mongodb.tuple" } " vocabulary lets you define persistent tuples that can be stored to and retrieved from a MongoDB database"
|
||||||
|
{ $unchecked-example
|
||||||
|
"USING: mongodb.driver mongodb.tuple fry ;"
|
||||||
|
"MDBTUPLE: person name age ; "
|
||||||
|
"person \"persons\" { { \"age\" +fieldindex+ } } define-persistent "
|
||||||
|
"\"db\" \"127.0.0.1\" 27017 <mdb>"
|
||||||
|
"person new \"Alfred\" >>name 57 >>age"
|
||||||
|
"'[ _ save-tuple person new 57 >>age select-tuple ] with-db"
|
||||||
|
"" }
|
||||||
|
;
|
||||||
|
|
||||||
|
ABOUT: "mongodb"
|
|
@ -0,0 +1,8 @@
|
||||||
|
USING: vocabs.loader ;
|
||||||
|
|
||||||
|
IN: mongodb
|
||||||
|
|
||||||
|
"mongodb.connection" require
|
||||||
|
"mongodb.driver" require
|
||||||
|
"mongodb.tuple" require
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
message primitives for the communication with MongoDB
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
low-level message reading and writing
|
|
@ -0,0 +1 @@
|
||||||
|
MongoDB Factor integration
|
|
@ -0,0 +1 @@
|
||||||
|
database
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
tuple class MongoDB collection handling
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
tuple class index handling
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
tuple to MongoDB storable conversion (and back)
|
|
@ -0,0 +1 @@
|
||||||
|
Sascha Matzke
|
|
@ -0,0 +1 @@
|
||||||
|
client-side persistent tuple state handling
|
|
@ -0,0 +1 @@
|
||||||
|
persist tuple instances into MongoDB
|
Loading…
Reference in New Issue