mongodb.tuple vocabulary
Factor handbook > Vocabulary index


Summary
persist tuple instances into MongoDB

Meta-data
Authors:Sascha Matzke


Words

Singleton classes
+load+
+transient+
+user-defined-key+


Parsing words
WordSyntax
MDBTUPLE:


Ordinary words
WordStack effect
<tuple-index>( name key -- index-spec )
count-tuples( tuple/query -- n )
define-persistent( class collection slot-options index -- )
delete-tuple( tuple -- )
delete-tuples( seq -- )
drop-table( class -- )
ensure-table( class -- )
ensure-tables( classes -- )
insert-tuple( tuple -- )
recreate-table( class -- )
save-tuple( tuple -- )
save-tuple-deep( tuple -- )
select-all-tuples( tuple/query -- tuples )
select-tuple( tuple/query -- tuple/f )
select-tuples( tuple/query -- cursor tuples/f )
tuple>query( tuple -- query )
update-tuple( tuple -- )


Class predicate words
WordStack effect
+load+?( object -- ? )
+transient+?( object -- ? )
+user-defined-key+?( object -- ? )


Files


Children from resource:extra
VocabularySummary
mongodb.tuple.collectiontuple class MongoDB collection handling
mongodb.tuple.persistenttuple to MongoDB storable conversion (and back)
mongodb.tuple.stateclient-side persistent tuple state handling


Children
VocabularySummary
mongodb.tuple.privatemongodb.tuple.private vocabulary