createCommand method
Implementation
String createCommand() {
StringBuffer sb = new StringBuffer();
sb.write("CREATE ${_unique ? "UNIQUE" : ""} INDEX ");
sb.write(" `${this._name}` ON `${this._tbl.name}` ( ");
for (DbColumn col in this._cols) {
sb.write("`${col.name}` ,");
}
//
return sb.toString().removeLastChar() + ")";
}