[postmodern-devel] Problems with doquery and simple-date

Slobodan Milnović slobodan.milnovic at gmail.com
Tue Nov 16 00:54:30 UTC 2010


Hi,

There is probably some simple reason why these won't work, but I'm not
as good in lisp to understand it.

This works:

CL-USER> (simple-date:decode-timestamp (caar (postmodern:query (:limit (:select
			    (:dot 'sem 'avl 'timestamp)
			    :from (:dot 'sem 'avl)) 1))))
2010
1
12
8
35
50
0

This doesn't:

CL-USER> (postmodern:doquery (:limit (:select
			    (:dot 'sem 'avl 'timestamp)
			    :from (:dot 'sem 'avl)) 1)
	     (ivo)
	   (simple-date:decode-timestamp ivo))
NIL

I don't understand the difference, especially since for other stuff
doquery works. Please advise.




More information about the postmodern-devel mailing list