[clj-record-dev] New feature request/implementation: record-count

0 views
Skip to first unread message

Jim Menard

unread,
May 18, 2010, 12:41:22 PM5/18/10
to clj-rec...@googlegroups.com
I've added a record-count model method (and tests) in my clj-record
fork at http://github.com/jimm/clj-record. A few examples:

; insert two records
(manufacturer/record-count) ; => 2
(manufacturer/record-count ["name = ?", "good-name"]) ; => 1
(manufacturer/record-count {:name "good-name"}) ; => 1
(manufacturer/record-count {:name "bogus-name"}) ; => 0

I've sent a pull request to John.

Jim
--
Jim Menard, http://www.io.com/~jimm/

John D. Hume

unread,
May 18, 2010, 11:33:47 PM5/18/10
to clj-rec...@googlegroups.com
On Tue, May 18, 2010 at 12:41 PM, Jim Menard <jim.m...@gmail.com> wrote:
> I've added a record-count model method (and tests) in my clj-record
> fork at http://github.com/jimm/clj-record. A few examples:

Hi Jim,
Thanks for this and the previous submission. I've just put them both
in the duelinmarkers/clj-record repo.
-hume.

--
http://elhumidor.blogspot.com/

Jim Menard

unread,
May 19, 2010, 12:03:09 PM5/19/10
to clj-rec...@googlegroups.com
Neat! Thank you very much.

Jim
Reply all
Reply to author
Forward
0 new messages