This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 7748e2c Tweak doco according to Cédric's suggestion
7748e2c is described below
commit 7748e2ca22af95067d2fd5cacb946d5dbe4debd8
Author: Daniel Sun <[email protected]>
AuthorDate: Sun Nov 22 22:55:09 2020 +0800
Tweak doco according to Cédric's suggestion
---
subprojects/groovy-ginq/src/spec/doc/ginq-userguide.adoc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/subprojects/groovy-ginq/src/spec/doc/ginq-userguide.adoc
b/subprojects/groovy-ginq/src/spec/doc/ginq-userguide.adoc
index 418e250..4f56aa3 100644
--- a/subprojects/groovy-ginq/src/spec/doc/ginq-userguide.adoc
+++ b/subprojects/groovy-ginq/src/spec/doc/ginq-userguide.adoc
@@ -30,8 +30,9 @@ As GORM and jOOQ are powerful enough to support querying DB,
we will cover colle
GINQ is a DSL for querying with SQL-like syntax, which consists of the
following structure:
```sql
-GINQ
+GQ, i.e. abbreviation for GINQ
|__ from
+| |__ in
|__ [innerjoin/leftjoin/rightjoin/fulljoin/crossjoin]*
| |__ on (Note: `crossjoin` does not need the `on` clause)
|__ [where]
@@ -67,7 +68,8 @@
include::../test/org/apache/groovy/ginq/GinqTest.groovy[tags=ginq_execution_01,i
----
include::../test/org/apache/groovy/ginq/GinqTest.groovy[tags=ginq_execution_02,indent=0]
----
-And it is strongly recommended to use `def` to define the variable for the
result of GINQ execution:
+And it is strongly recommended to use `def` to define the variable for the
result of GINQ execution,
+which is a `Queryable` instance that is lazy.
```groovy
def result = GQ {
/* GINQ CODE */