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...
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