Ϋϩʔδϟͷ߹ɺؙׅހলུͰ͖Δ someMethod { num -‐> num * 2 } // ଞͷҾͱͷ߹ͤ someMethod(arg1, arg2, { num -‐> num * 2 }) someMethod(arg1, arg2) { num -‐> num * 2 } //্ͱՁ $MPTVSF as Args
title TEXT, published TIMESTAMP, author INTEGER ) CREATE TABLE author ( id INTEGER, name TEXT ) def writer = new StringWriter() new DdlBuilder(writer).scheme { book { id type:int title type:String published type:Date author type:int } author { id type:int name type:String } } println writer.toString() 6TBHF