code: function() {
  		var query = this.query;
  		var args = [];
  		var text = "CREATE ";
  		if (query.unique) text += "UNIQUE ";
  		if (query.temp) text += "TEMPORARY ";
  		if (query.table) text += "TABLE";
  		if (query.index) text += "INDEX";
  		if (query.trigger) text += "TRIGGER";
  		if (query.view) text += "VIEW";
  		if (query.exists) text += lib.builder.makeExists(query);
  		if (query.table) text += lib.builder.makeStr(query,"table"," ");
  		if (query.index) text += lib.builder.makeStr(query,"index"," ");
  		if (query.trigger) text += lib.builder.makeStr(query,"trigger"," ");
  		if (query.view) text += lib.builder.makeStr(query,"view"," ");
  		if (query.before) text += " BEFORE";
  		if (query.after) text += " AFTER";
  		if (query.trigger) text += lib.builder.makeTriggerOn(query);
  		if (query.of) text += lib.builder.makeStr(query,"of"," OF ");
  		if (query.on) text += lib.builder.makeStr(query,"on"," ON ");
  		if (query.when) text += lib.builder.makeWhere(query,args," WHEN ","when");
  		if (query.fields) text += lib.builder.makeFields(query,args,true);
  		if (query.do) text += lib.builder.makeTriggerDo(query,Query);
  		if (query.as) text += lib.builder.makeView(query,Query);
  		return {
  			type: "create",
  			text: text,
  			args: args,
  		};
  	}
docs: .toQuery()