mito icon indicating copy to clipboard operation
mito copied to clipboard

(mito:find-dao can't find column like dict_name_cn

Open bliugithub opened this issue 2 years ago • 4 comments

[ ] DICT_NAME_CN = #

bliugithub avatar Aug 26 '22 03:08 bliugithub

WX20220826-113317

bliugithub avatar Aug 26 '22 03:08 bliugithub

but (mito:save-dao dict can run right

bliugithub avatar Aug 26 '22 03:08 bliugithub

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))

bliugithub avatar Aug 26 '22 03:08 bliugithub

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 = #.

vindarel avatar Aug 26 '22 13:08 vindarel