mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update docs
This commit is contained in:
parent
1321cc2c83
commit
36afd8c29f
@ -11,6 +11,7 @@ export default defineConfig({
|
|||||||
// logo: '/assets/images/logo02.png',
|
// logo: '/assets/images/logo02.png',
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
outlineTitle:'章节',
|
||||||
search: {
|
search: {
|
||||||
provider: 'local'
|
provider: 'local'
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,16 +1,19 @@
|
|||||||
<!--.vitepress/theme/MyLayout.vue-->
|
<!--.vitepress/theme/MyLayout.vue-->
|
||||||
<script setup>
|
<script setup>
|
||||||
import DefaultTheme from 'vitepress/theme'
|
import DefaultTheme from 'vitepress/theme'
|
||||||
const { Layout } = DefaultTheme
|
|
||||||
|
const {Layout} = DefaultTheme
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Layout>
|
<Layout>
|
||||||
<!-- <template #doc-footer-before>-->
|
<!--docs: https://vitepress.dev/guide/extending-default-theme#layout-slots-->
|
||||||
<!-- <div class="tip custom-block" style="margin-bottom: 24px">-->
|
<template #doc-footer-before>
|
||||||
<!-- <p class="custom-block-title">广告</p>-->
|
<div class="info custom-block" style="margin-bottom: 14px">
|
||||||
<!-- <p>此次广告位招租。</p>-->
|
<!-- <p class="custom-block-title">对这篇文章还有疑问?</p>-->
|
||||||
<!-- </div>-->
|
<p>对这篇文章还有疑问? 点击 <a href="https://gitee.com/mybatis-flex/mybatis-flex/issues/new" target="_blank">这里</a> 发起提问。
|
||||||
<!-- </template>-->
|
</p>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</Layout>
|
</Layout>
|
||||||
</template>
|
</template>
|
||||||
@ -90,7 +90,7 @@ MyBatis-Flex 的关联子查询,和 JPA 等其他第三方框架有很大的
|
|||||||
|
|
||||||
对 MyBatis-Flex 来说,学习成本是非常低的,在构建子查询时,只需要明白为哪个字段、通过什么样的 SQL 查询就可以了,以下是示例:
|
对 MyBatis-Flex 来说,学习成本是非常低的,在构建子查询时,只需要明白为哪个字段、通过什么样的 SQL 查询就可以了,以下是示例:
|
||||||
|
|
||||||
```java
|
```java 3,4
|
||||||
List<Article> articles = mapper.selectListByQuery(query
|
List<Article> articles = mapper.selectListByQuery(query
|
||||||
, fieldQueryBuilder -> fieldQueryBuilder
|
, fieldQueryBuilder -> fieldQueryBuilder
|
||||||
.field(...) // 为哪个字段查询的?
|
.field(...) // 为哪个字段查询的?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user