mito
mito copied to clipboard
(mito:find-dao can't find column like dict_name_cn
[ ] DICT_NAME_CN = #
but (mito:save-dao dict can run right
use accessor to work fine.
(mito:deftable comm_dict () ((dict-type :col-type (:varchar 64) :accessor dict_type) (dict_name_cn :col-type (:varchar 64)) (dict_value :col-type (:varchar 64)) (dict_name_en :col-type (or (:varchar 128) :null))) (:record-timestamps nil))
use accessor to work fine.
if so then it looks like a similar issue as one or two already open and I would close this as duplicated. Glad it works.
Still, can you post a full stacktrace showing the issue? The screenshot doesn't help, not your first comment [ ] DICT_NAME_CN = #
.