diff --git a/packages/midway-component-kmore/README.md b/packages/midway-component-kmore/README.md index 4b3992468..7012dca9c 100644 --- a/packages/midway-component-kmore/README.md +++ b/packages/midway-component-kmore/README.md @@ -118,7 +118,7 @@ await km.dbh.schema #### Snake style ```ts -// auto generated accessort tb_user() and tb_user_detail() +// auto generated accessor tb_user() and tb_user_detail() const { ref_tb_user, ref_tb_user_detail } = km.refTables await ref_tb_user() @@ -141,7 +141,7 @@ const affectedRows = await ref_tb_user_detail() ```ts import { RecordCamelKeys } from '@waiting/shared-types' -// auto generated accessort tb_user() and tb_user_detail() +// auto generated accessor tb_user() and tb_user_detail() const { ref_tb_user, ref_tb_user_detail } = km.camelTables interface UserDO { diff --git a/packages/midway-component-kmore/README.zh-CN.md b/packages/midway-component-kmore/README.zh-CN.md index 490e32b7b..ddadf2bc7 100644 --- a/packages/midway-component-kmore/README.zh-CN.md +++ b/packages/midway-component-kmore/README.zh-CN.md @@ -119,7 +119,7 @@ await km.dbh.schema #### Snake style ```ts -// auto generated accessort tb_user() and tb_user_detail() +// auto generated accessor tb_user() and tb_user_detail() const { ref_tb_user, ref_tb_user_detail } = km.refTables await ref_tb_user() @@ -142,7 +142,7 @@ const affectedRows = await ref_tb_user_detail() ```ts import { RecordCamelKeys } from '@waiting/shared-types' -// auto generated accessort tb_user() and tb_user_detail() +// auto generated accessor tb_user() and tb_user_detail() const { ref_tb_user, ref_tb_user_detail } = km.camelTables interface UserDO {