+ update
This commit is contained in:
		@@ -38,6 +38,10 @@ public class QueryUpdate {
 | 
			
		||||
        return this;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void run(DataSource dataSource) {
 | 
			
		||||
        this.to(dataSource).run();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public RunnableUpdate to(DataSource dataSource) {
 | 
			
		||||
        return new RunnableUpdate(toQuery()).dataSource(dataSource).statement(s -> {
 | 
			
		||||
            int index = 1;
 | 
			
		||||
 
 | 
			
		||||
@@ -56,7 +56,7 @@ public class TMap {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static TMap parse(String in) {
 | 
			
		||||
        Matcher matcher = Pattern.compile("(?<name>[^{}]+)?\\{(?<content>[^<>]+)}").matcher(in.replaceAll("[\r\n]", ""));
 | 
			
		||||
        Matcher matcher = Pattern.compile("(?<name>.+)?\\{(?<content>.+)}").matcher(in.replaceAll("[\r\n]", ""));
 | 
			
		||||
        if (matcher.find()) {
 | 
			
		||||
            TMap map = new TMap(matcher.group("name"));
 | 
			
		||||
            for (String content : matcher.group("content").split(";")) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user