diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/query/object-fetcher/usage.mdx b/i18n/zh/docusaurus-plugin-content-docs/current/query/object-fetcher/usage.mdx index af075dbfd..cc1ea2e0c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/query/object-fetcher/usage.mdx +++ b/i18n/zh/docusaurus-plugin-content-docs/current/query/object-fetcher/usage.mdx @@ -58,8 +58,8 @@ val tuples = sqlClient where(table.edition.eq(3)) // highlight-next-line select( - table.id - table.name + table.id, + table.name, table.edition ) } @@ -166,8 +166,8 @@ val bookDTOs = sqlClient .createQuery(Book::class) { where(table.edition.eq(3)) select( - table.id - table.name + table.id, + table.name, table.edition ) } @@ -426,4 +426,4 @@ Annotation processor会为每一个实体接口自动生成一个Fetcher类, - JPA的EntityGraph仅仅控制关联属性,但对象抓取器可以控制任何属性,和GraphQL一样,精确控制到每个属性 -- 对于因为自关联属性导致的无限递归结构,对象抓取器支持[递归查询](./recursive) \ No newline at end of file +- 对于因为自关联属性导致的无限递归结构,对象抓取器支持[递归查询](./recursive)