Found it, should be "user" (singular)

On Sep 17, 2:56 pm, Miki <miki.teb...@gmail.com> wrote:
> Greetings,
>
> I'm trying to use appengine-clj (http://github.com/r0man/appengine-
> clj) datastore and having a problem. This is probably not a bug but
> something I'm missing.
>
> I'm trying the following:
>
> (defentity User ()
>   ((id)
>    (phone)))
>
> (save-entity (user {:id "1" :phone "2"}))
> (count (select "users"))
>
> The last statement return 0, so it looks to me that nothing was saved.
> What am I doing wrong?
>
> Thanks,
> --
> Miki

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to