r6rs-mongodb 0.0.190423

MongoDB client and BSON

This is an R6RS Scheme implementation of the MongoDB wire protocol.

$ akku update
$ akku install r6rs-mongodb
$ .akku/env
Authors

Takashi Kato

Uploaded to Akku by Göran Weinholt

Homepage

Information missing.

License

BSD-2-Clause

Dependencies

^0.0.0-akku

Source code

https://github.com/ktakashi/r6rs-mongodb git
b62b9271a068625c4af92da0b07d2f0da6475024

Package contents

  • (mongodb authenticate conditions) R6
    • → make-mongodb-authenticate-error mongodb-authenticate-error?
    • ← (rnrs) R6
    • ← (mongodb conditions)
  • (mongodb authenticate logout) R6
    • → mongodb-database-logout!
    • ← (rnrs) R6
    • ← (mongodb)
  • (mongodb authenticate) R6 Sagittarius
    • → mongodb-database-authenticate! mongodb-database-logout! mongodb-authenticate-error?
    • ← (rnrs) R6
    • ← (sagittarius) Built-in
    • ← (mongodb database)
    • ← (mongodb authenticate conditions)
    • ← (mongodb authenticate logout)
    • ← (sagittarius regex) Built-in
    • ← (rfc hmac)
    • ← (rfc base64)
    • ← (rsa pkcs :5)
    • ← (math)
    • ← (util bytevector)
    • (srfi :13) SRFI
  • (mongodb authenticate) R6
    • → mongodb-database-authenticate! mongodb-database-logout! mongodb-authenticate-error?
    • ← (rnrs) R6
    • ← (mongodb authenticate logout)
    • ← (mongodb authenticate conditions)
  • (mongodb bson conditions) R6
    • → make-bson-error bson-error?
    • ← (rnrs) R6
  • (mongodb bson parser) R6
    • → read-document read-element read-min-key-element read-max-key-element read-double-element read-string-element read-embedded-document-element read-array-element read-binary-element read-undefined-element read-object-id-element read-boolean-element read-utc-datetime-element read-null-element read-regex-element read-db-pointer-element read-javascript-element read-symbol-element read-javascript/scope-element read-int32-element read-uint64-element read-int64-element read-decimal128-element read-cstring read-string read-binary *bson:use-iso-date?*
    • ← (rnrs) R6
    • ← (mongodb util bytevectors)
    • ← (mongodb util iso-date)
    • ← (mongodb util parameters)
    • ← (mongodb util ports)
    • ← (mongodb util uuid)
    • ← (mongodb bson conditions)
    • ← (mongodb bson validators)
  • (mongodb bson validators) R6
    • → check-regex-flag-order
    • ← (rnrs) R6
    • ← (mongodb bson conditions)
  • (mongodb bson writer) R6
    • → write-document write-element write-min-key-element write-max-key-element write-double-element write-string-element write-embedded-document-element write-array-element write-binary-element write-uuid-element write-undefined-element write-object-id-element write-boolean-element write-utc-datetime-element write-iso-date-element write-null-element write-regex-element write-db-pointer-element write-javascript-element write-symbol-element write-javascript/scope-element write-int32-element write-uint64-element write-int64-element write-decimal128-element write-cstring write-string write-int32 write-double
    • ← (rnrs) R6
    • ← (mongodb bson conditions)
    • ← (mongodb bson validators)
    • ← (mongodb util bytevectors)
    • ← (mongodb util iso-date)
    • ← (mongodb util ports)
    • ← (mongodb util uuid)
  • (mongodb bson) R6
    • → bson-write bson-read bson-error? *bson:use-iso-date?*
    • ← (rnrs) R6
    • ← (mongodb bson parser)
    • ← (mongodb bson writer)
    • ← (mongodb bson conditions)
  • (mongodb conditions) R6
    • → &mongodb mongodb-error? make-mongodb-error
    • ← (rnrs) R6
  • (mongodb connection) R6
    • → mongodb-connection? make-mongodb-connection open-mongodb-connection! close-mongodb-connection! mongodb-connection-open? mongodb-connection-input-port mongodb-connection-output-port mongodb-connection-option mongodb-connection-run-command mongodb-connection-list-databases mongodb-connection-option? make-mongodb-connection-option make-mongodb-connection-option-default-request-id-strategy mongodb-connection-option-use-iso-date? &mongodb-connection mongodb-connection-error? make-mongodb-connection-error &mongodb-connection-closed make-mongodb-connection-closed mongodb-connection-closed? mongodb-connection-request-id-strategy
    • ← (rnrs) R6
    • ← (mongodb conditions)
    • ← (mongodb net socket)
    • ← (mongodb net tcp)
    • ← (mongodb protocol)
  • (mongodb database) R6
    • → mongodb-database? make-mongodb-database mongodb-database-name mongodb-database-connection mongodb-invalid-cursor? mongodb-query-failure? mongodb-database->namespace mongodb-cursor? make-mongodb-cursor mongodb-cursor-id mongodb-cursor-ns mongodb-cursor-database mongodb-query-result? mongodb-query-result-id mongodb-query-result-to mongodb-query-result-starting-from mongodb-query-result-documents mongodb-database-get-last-error mongodb-database-run-command mongodb-database-drop-collection mongodb-database-admin-command mongodb-database-query mongodb-database-query/selector mongodb-database-query-request mongodb-database-cursor-get-more mongodb-database-kill-cursors mongodb-database-insert mongodb-database-insert-request mongodb-database-insert-command mongodb-database-update mongodb-database-upsert mongodb-database-update-all mongodb-database-update-request mongodb-database-update-command mongodb-database-delete mongodb-database-delete-all mongodb-database-delete-request mongodb-database-delete-command mongodb-database-receive-reply mongodb-database-send-query mongodb-database-send-get-more <mongodb-base-database> mongodb-database-default-message-sender
    • ← (rnrs) R6
    • ← (mongodb connection)
    • ← (mongodb protocol)
    • ← (mongodb conditions)
    • ← (mongodb bson)
    • ← (mongodb util parameters)
  • (mongodb net socket) R6
    • → socket? socket-close! socket-input-port socket-output-port make-socket socket-raw-socket
    • ← (rnrs) R6
  • (mongodb net tcp) R6 Chez Scheme
    • → tcp-connect
    • ← (rnrs) R6
    • ← (chezscheme) Built-in
    • ← (mongodb net socket)
  • (mongodb net tcp) R6 Larceny
    • → tcp-connect
    • ← (rnrs) R6
    • ← (mongodb net socket)
    • ← (primitives r5rs:require get-service-by-name make-client-socket socket-input-port socket-output-port) Built-in
  • (mongodb net tcp) R6
    • → tcp-connect
    • ← (rnrs) R6
    • ← (mongodb net socket)
    • (srfi :106) SRFI
  • (mongodb protocol msg-header) R6
    • → msg-header? make-msg-header msg-header-message-length msg-header-message-length-set! msg-header-request-id msg-header-request-id-set! msg-header-response-to msg-header-response-to-set! msg-header-op-code msg-header-op-code-set! msg-header-content-length read-msg-header read-msg-header! write-msg-header mongodb-protocol-message mongodb-protocol-message? mongodb-protocol-message-header mongodb-protocol-message-request-id mongodb-protocol-message-request-id-set! mongodb-protocol-message-response-to mongodb-query-message mongodb-query-message? mongodb-query-message-full-collection-name mongodb-query-message-full-collection-name-set! mongodb-flagged-query-message mongodb-flagged-query-message? mongodb-flagged-query-message-flags mongodb-flagged-query-message-flags-set! *msg-header-size* *op-code:reply* *op-code:update* *op-code:insert* *op-code:query* *op-code:get-more* *op-code:delete* *op-code:kill-cursors* *op-code:msg*
    • ← (rnrs) R6
    • ← (mongodb util ports)
  • (mongodb protocol op-delete) R6
    • → op-delete? make-op-delete op-delete-selector read-op-delete read-op-delete! write-op-delete
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol op-get-more) R6
    • → op-get-more? make-op-get-more op-get-more-number-to-return op-get-more-cursor-id read-op-get-more read-op-get-more! write-op-get-more
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol op-insert) R6
    • → op-insert? make-op-insert op-insert-documents read-op-insert read-op-insert! write-op-insert
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol op-kill-cursors) R6
    • → op-kill-cursors? make-op-kill-cursors op-kill-cursors-number-of-cursor-ids op-kill-cursors-cursor-ids read-op-kill-cursors read-op-kill-cursors! write-op-kill-cursors
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol op-msg) R6
    • → op-msg? op-msg-flag-bits op-msg-sections op-msg-checksum read-op-msg
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson)
    • ← (mongodb bson parser)
  • (mongodb protocol op-query) R6
    • → op-query? make-op-query op-query-number-to-skip op-query-number-to-return op-query-query op-query-query-set! op-query-return-fields-selector read-op-query read-op-query! write-op-query
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol op-reply) R6
    • → op-reply? op-reply-response-flags op-reply-cursor-id op-reply-starting-from op-reply-number-returned op-reply-documents read-op-reply
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol op-update) R6
    • → op-update? make-op-update op-update-selector op-update-update read-op-update read-op-update! write-op-update
    • ← (rnrs) R6
    • ← (mongodb util ports)
    • ← (mongodb protocol msg-header)
    • ← (mongodb bson parser)
    • ← (mongodb bson)
  • (mongodb protocol) R6
    • → read-mongodb-message write-mongodb-message msg-header? make-msg-header msg-header-message-length msg-header-request-id msg-header-request-id-set! msg-header-response-to msg-header-response-to-set! msg-header-op-code mongodb-protocol-message? mongodb-protocol-message-header mongodb-protocol-message-request-id mongodb-protocol-message-request-id-set! mongodb-protocol-message-response-to mongodb-query-message? mongodb-query-message-full-collection-name mongodb-flagged-query-message? mongodb-flagged-query-message-flags op-update? make-op-update op-update-selector op-update-update op-insert? make-op-insert op-insert-documents op-query? make-op-query op-query-number-to-skip op-query-number-to-return op-query-query op-query-query-set! op-query-return-fields-selector op-get-more? make-op-get-more op-get-more-number-to-return op-get-more-cursor-id op-delete? make-op-delete op-delete-selector op-kill-cursors? make-op-kill-cursors op-kill-cursors-number-of-cursor-ids op-kill-cursors-cursor-ids op-reply? op-reply-response-flags op-reply-cursor-id op-reply-starting-from op-reply-number-returned op-reply-documents op-msg? op-msg-flag-bits op-msg-sections op-msg-checksum
    • ← (rnrs) R6
    • ← (mongodb protocol msg-header)
    • ← (mongodb protocol op-update)
    • ← (mongodb protocol op-insert)
    • ← (mongodb protocol op-query)
    • ← (mongodb protocol op-get-more)
    • ← (mongodb protocol op-delete)
    • ← (mongodb protocol op-kill-cursors)
    • ← (mongodb protocol op-reply)
    • ← (mongodb protocol op-msg)
  • (mongodb session) R6
    • → mongodb-session-start mongodb-session? mongodb-session-id mongodb-session-transaction-supported? mongodb-session-end! mongodb-session-start-transaction! mongodb-session-commit-transaction! mongodb-session-abort-transaction! mongodb-session-database
    • ← (rnrs) R6
    • ← (rnrs mutable-pairs) R6
    • ← (mongodb connection)
    • ← (mongodb database)
    • ← (mongodb protocol)
    • ← (mongodb util uuid)
  • (mongodb util bytevectors) R6
    • → bytevector->hex-string hex-string->bytevector
    • ← (rnrs) R6
    • ← (rnrs mutable-strings) R6
  • (mongodb util iso-date) R6
    • → milliseconds->iso-date-string iso-date-string->milliseconds
    • ← (rnrs) R6
  • (mongodb util parameters) R6 Chez Scheme
    • → make-parameter parameterize
    • ← (chezscheme) Built-in
  • (mongodb util parameters) R6
    • → make-parameter parameterize
    • (srfi :39) SRFI
  • (mongodb util ports) R6
    • → get-u32 get-s32 get-u64 get-s64 get-f64 get-n-bytevector put-u32 put-s32 put-u64 put-s64 put-f64 get-cstring get-mongo-string put-cstring put-mongo-string
    • ← (rnrs) R6
  • (mongodb util random) R6 Chez Scheme
    • → random-integer
    • ← (chezscheme) Built-in
  • (mongodb util random) R6 Sagittarius
    • → random-integer
    • ← (rnrs) R6
    • ← (math)
  • (mongodb util random) R6
  • (mongodb util uuid) R6
    • → bytevector->uuid-string uuid-string->bytevector make-v4-uuid
    • ← (rnrs) R6
    • ← (mongodb util random)
    • ← (mongodb util bytevectors)
  • (mongodb) R6
    • → mongodb-connection? make-mongodb-connection open-mongodb-connection! close-mongodb-connection! mongodb-connection-open? mongodb-connection-list-databases mongodb-connection-option? make-mongodb-connection-option make-mongodb-connection-option-default-request-id-strategy call-with-mongodb-connection call-with-mongodb-database mongodb-database? make-mongodb-database mongodb-database-query mongodb-database-query/selector mongodb-database-insert mongodb-database-update mongodb-database-upsert mongodb-database-update-all mongodb-database-delete mongodb-database-delete-all mongodb-database-get-last-error mongodb-database-drop-collection mongodb-cursor? make-mongodb-cursor mongodb-cursor-id mongodb-cursor-ns mongodb-query-result? mongodb-query-result-id mongodb-query-result-to mongodb-query-result-starting-from mongodb-query-result-documents mongodb-query-result->generator mongodb-query-result->get-more-generator mongodb-query-fold mongodb-query-for-each mongodb-query-map bson-error? mongodb-error? mongodb-connection-error? mongodb-connection-closed? mongodb-invalid-cursor? mongodb-query-failure? mongodb-connection-run-command mongodb-database-run-command mongodb-database-admin-command mongodb-database-update-command mongodb-database-insert-command mongodb-database-delete-command mongodb-database-cursor-get-more mongodb-database-kill-cursors mongodb-session-start mongodb-session? mongodb-session-id mongodb-session-transaction-supported? mongodb-session-end! mongodb-session-start-transaction! mongodb-session-commit-transaction! mongodb-session-abort-transaction! mongodb-session-database
    • ← (rnrs) R6
    • ← (mongodb conditions)
    • ← (mongodb connection)
    • ← (mongodb database)
    • ← (mongodb session)
    • ← (mongodb bson)
  • (srfi :64 testing) R6 Chez Scheme Test
    • → test-begin test-end test-assert test-eqv test-eq test-equal test-approximate test-error test-apply test-with-runner test-match-nth test-match-all test-match-any test-match-name test-skip test-expect-fail test-read-eval-string test-group test-runner-group-path test-group-with-cleanup test-result-ref test-result-set! test-result-clear test-result-remove test-result-kind test-passed? test-log-to-file test-runner? test-runner-reset test-runner-null test-runner-simple test-runner-current test-runner-factory test-runner-get test-runner-create test-runner-test-name test-runner-pass-count test-runner-pass-count! test-runner-fail-count test-runner-fail-count! test-runner-xpass-count test-runner-xpass-count! test-runner-xfail-count test-runner-xfail-count! test-runner-skip-count test-runner-skip-count! test-runner-group-stack test-runner-group-stack! test-runner-on-test-begin test-runner-on-test-begin! test-runner-on-test-end test-runner-on-test-end! test-runner-on-group-begin test-runner-on-group-begin! test-runner-on-group-end test-runner-on-group-end! test-runner-on-final test-runner-on-final! test-runner-on-bad-count test-runner-on-bad-count! test-runner-on-bad-end-name test-runner-on-bad-end-name! test-result-alist test-result-alist! test-runner-aux-value test-runner-aux-value! test-on-group-begin-simple test-on-group-end-simple test-on-bad-count-simple test-on-bad-end-name-simple test-on-final-simple test-on-test-end-simple
    • ← (rnrs) R6
    • ← (rnrs eval) R6
    • ← (rnrs mutable-pairs) R6
    • ← (chezscheme) Built-in
  • (srfi :64) R6 Chez Scheme Test
    • → test-apply test-approximate test-assert test-begin test-end test-eq test-equal test-eqv test-error test-expect-fail test-group test-group-with-cleanup test-log-to-file test-match-all test-match-any test-match-name test-match-nth test-on-bad-count-simple test-on-bad-end-name-simple test-on-final-simple test-on-group-begin-simple test-on-group-end-simple test-on-test-end-simple test-passed? test-read-eval-string test-result-alist test-result-alist! test-result-clear test-result-kind test-result-ref test-result-remove test-result-set! test-runner-aux-value test-runner-aux-value! test-runner-create test-runner-current test-runner-factory test-runner-fail-count test-runner-fail-count! test-runner-get test-runner-group-path test-runner-group-stack test-runner-group-stack! test-runner-null test-runner-on-bad-count test-runner-on-bad-count! test-runner-on-bad-end-name test-runner-on-bad-end-name! test-runner-on-final test-runner-on-final! test-runner-on-group-begin test-runner-on-group-begin! test-runner-on-group-end test-runner-on-group-end! test-runner-on-test-begin test-runner-on-test-begin! test-runner-on-test-end test-runner-on-test-end! test-runner-pass-count test-runner-pass-count! test-runner-reset test-runner-simple test-runner-skip-count test-runner-skip-count! test-runner-test-name test-runner-xfail-count test-runner-xfail-count! test-runner-xpass-count test-runner-xpass-count! test-runner? test-skip test-with-runner
    • (srfi :64 testing) SRFI
  • (srfi :98 os-environment-variables) R6 Chez Scheme Test
    • → get-environment-variable get-environment-variables
    • ← (chezscheme) Built-in
  • (srfi :98) R6 Chez Scheme Test

Version history

  • 2019-04-23 ~ 0.0.190423