incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Wolff <awo...@gmail.com>
Subject Re: storing objects with "function attributes"
Date Sun, 04 Apr 2010 22:19:30 GMT
Functions aren't part of JSON. http://www.json.org/

A

On Sun, Apr 4, 2010 at 2:46 PM, Andrew Melo <andrew.melo@gmail.com> wrote:

> On Sun, Apr 4, 2010 at 4:29 PM, Todd Chambery <todd.chambery@gmail.com>
> wrote:
> > Hi all,
> >
> > I don't seem to be able to load "function attributes" of objects into
> > CouchDB:
> >
> > If I save
> > {
> >  name: "foo",
> >  func: function() {
> >     do();
> >     return;
> >  }
> > }
> >
> > func will not appear on the object.  If I change the func value to a
> string,
> > everything's cool.
> >
> > Can I store function attributes in CouchDB?
>
> What do you want the attributes to do?
>
> > Thanks,
> >
> > Todd
> >
>
>
>
> --
> --
> Andrew Melo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message