(cond . . . ( (>= (first (first ($db "select count(*) from boards where name=?" values: (list ($ 'name "xxx")))) ) 1 ) (display ($ 'name "xxx")) ) ( else (stuff) ) )