Parents: | mongodb |
Tags: | database |
Authors: | Sascha Matzke |
Class | Superclass | Slots |
index-spec | tuple | ns name key unique? |
mdb-collection | tuple | name capped size max |
mdb-cursor | tuple | id query |
mdb-error | tuple | msg |
mdb-pool | pool | mdb |
Word | Syntax |
r/ |
Word | Stack effect |
create-collection | ( name/collection -- ) |
find | ( selector -- mdb-cursor/f seq ) |
hint | ( mdb-query-msg index-hint -- mdb-query-msg ) |
validate. | ( collection -- ) |
Word | Stack effect |
<delete> | ( collection selector -- mdb-delete-msg ) |
<index-spec> | ( ns name key -- index-spec ) |
<mdb-collection> | ( name -- collection ) |
<mdb-pool> | ( mdb -- pool ) |
<mdb> | ( db host port -- mdb ) |
<query> | ( collection assoc -- mdb-query-msg ) |
<update> | ( collection selector object -- mdb-update-msg ) |
>await-data | ( mdb-query-msg -- mdb-query-msg ) |
>id-selector | ( assoc -- selector ) |
>multi | ( mdb-update-msg -- mdb-update-msg ) |
>pwd-digest | ( user password -- digest ) |
>single-remove | ( mdb-delete-msg -- mdb-delete-msg ) |
>slave-ok | ( mdb-query-msg -- mdb-query-msg ) |
>tailable | ( mdb-query-msg -- mdb-query-msg ) |
>upsert | ( mdb-update-msg -- mdb-update-msg ) |
PARTIAL? | ( -- value ) |
asc | ( key -- spec ) |
count | ( mdb-query-msg -- result ) |
delete | ( mdb-delete-msg -- ) |
delete-unsafe | ( mdb-delete-msg -- ) |
desc | ( key -- spec ) |
drop-collection | ( name -- ) |
drop-index | ( collection name -- ) |
each-chunk | ( selector quot: ( seq -- ) -- ) |
ensure-collection | ( name -- ) |
ensure-index | ( index-spec -- ) |
explain. | ( mdb-query-msg -- ) |
filter-fields | ( mdb-query-msg filterseq -- mdb-query-msg ) |
find-all | ( selector -- seq ) |
find-and-modify | ( collection selector modifier -- mongodb-cmd ) |
find-one | ( mdb-query-msg -- result/f ) |
key-spec | ( spec-quot -- spec-assoc ) |
kill-cursor | ( mdb-cursor -- ) |
lasterror | ( -- error ) |
limit | ( mdb-query-msg limit# -- mdb-query-msg ) |
load-collection-list | ( -- collection-list ) |
load-index-list | ( -- index-list ) |
mdb-error | ( msg -- * ) |
run-cmd | ( cmd -- result ) |
save | ( collection assoc -- ) |
save-unsafe | ( collection assoc -- ) |
skip | ( mdb-query-msg skip# -- mdb-query-msg ) |
sort | ( mdb-query-msg sort-quot -- mdb-query-msg ) |
update | ( mdb-update-msg -- ) |
update-unsafe | ( mdb-update-msg -- ) |
with-db | ( mdb quot -- ) |
with-mdb | ( mdb quot -- ) |
with-mdb-connection | ( quot -- ) |
with-mdb-pool | ( ..a mdb-pool quot -- ..b ) |
Word | Stack effect |
index-spec? | ( object -- ? ) |
mdb-collection? | ( object -- ? ) |
mdb-cursor? | ( object -- ? ) |
mdb-error? | ( object -- ? ) |
mdb-pool? | ( object -- ? ) |