Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BSON representations directly #17

Open
pcostanza opened this issue Aug 26, 2013 · 1 comment
Open

Use BSON representations directly #17

pcostanza opened this issue Aug 26, 2013 · 1 comment

Comments

@pcostanza
Copy link

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

@fons
Copy link
Owner

fons commented Sep 4, 2013

That would in fact not be a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants