I got it. I have to :or it with :is-null, like this:

(sql (:select '* :from 'table :where 
    (:or (:like 'field "%something%") (:is-null 'field))))

_______________________________________________
postmodern-devel mailing list
postmodern-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel

Reply via email to