cl-mongo icon indicating copy to clipboard operation
cl-mongo copied to clipboard

Use BSON representations directly

Open pcostanza opened this issue 11 years ago • 1 comments

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

pcostanza avatar Aug 26 '13 15:08 pcostanza

That would in fact not be a bad idea.

fons avatar Sep 04 '13 22:09 fons