こんにちは、中村さん
河村です。
Couchbaseではバイナリデータの場合Base64にエンコードして保存しています。
考えられる方法としては、
1. バイナリをアプリ側でBase64にエンコードして、JSONの一要素として格納。属性も同JSONに格納。
2. バイナリのDocumentと属性のDocumentを別で作成し、相互に参照できるようにIDを設計する。例) 属性のDocumentID
= バイナリのDocumentID + ".meta" とか
ですかね。
ずいぶん時間が経ってしまいましたが、まだ間に合えば。。参考程度に。
> --
> You received this message because you are subscribed to the Google Groups
> "couchbase-jp" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
couchbase-jp...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.