Couch stores data as Json. Its query capabilities are based on json pair
names.

I'm just trying it out but I believe that, for example, if a User object was
a blob, you couldn't issue a query like "fetch user with username = 'foo'".
 You would have to read all the users into Smalltalk and do a select:

Anyway that's my impression of how Couch works.

On Tue, Aug 30, 2011 at 10:27 AM, Mariano Martinez Peck <
[email protected]> wrote:

>
>
> On Tue, Aug 30, 2011 at 9:40 AM, Davorin Rusevljan <
> [email protected]> wrote:
>
>> On Tue, Aug 30, 2011 at 10:23 AM, Marcus Denker <[email protected]>
>> wrote:
>> >
>> > Does it need to be JSON?
>>
>> Since CouchDB stores data in json - I guess the answer is very likely
>> yes, since just storing serialized blobs inside CouchDB would loose
>> all querying and indexing available.
>
>
> I don't understand. What is the difference from the querying and indexing
> point of view between serializing with JSON or a binary 
> serializer.<http://www.cloud208.com/>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>

Reply via email to