To achieve this goal even further, the grammar of the language was tweaked to allow us to use named parameters without the surrounding parenthesis.
为了更进一步实现这个目标,Groovy的语法做了通融,允许我们使用没有圆括号括起来的命名参数。
Named parameters without parenthesis.
没有圆括号的命名参数。
The find command without any parameters simply returns all documents in a particular collection, which in this case is named tickets.
不带任何参数的find命令简单地返回一个特定集合中的所有文档,在本例中名为tickets。
The find command without any parameters simply returns all documents in a particular collection, which in this case is named tickets.
不带任何参数的find命令简单地返回一个特定集合中的所有文档,在本例中名为tickets。
应用推荐