Skip to content

Use BSON representations directly #17

Description

Hi,

It would be nice if cl-mongo would provide a way to use BSON representations directly. In my concrete use case, I want to insert documents into a collection, but without first representing them as Lisp hashtables, or so. Instead, I create the necessary octet array directly myself. A workaround was easy: I defined a method on bson-encode-container specialized on array that just returns its argument unchanged. But I'm not sure if that's the most elegant solution...

Pascal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions