jaskell.sql.Insert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaskell-java8 Show documentation
Show all versions of jaskell-java8 Show documentation
This is a utils library for java 8 project.
It include parsec combinators and sql generators library.
package jaskell.sql;
import jaskell.script.Directive;
import jaskell.script.Parameter;
import java.util.ArrayList;
import java.util.List;
public class Insert implements Directive {
@Override
public String script() {
return "INSERT";
}
@Override
public List> parameters() {
return new ArrayList<>();
}
public Into into(String name) {
Into re = new Into(name);
re._prefix = this;
return re;
}
public Into into(String name, String fields) {
Into re = new Into(name, fields);
re._prefix = this;
return re;
}
public Into into(String name, String ... fields) {
Into re = new Into(name, fields);
re._prefix = this;
return re;
}
public Into into(String name, Directive ... fields) {
Into re = new Into(name, fields);
re._prefix = this;
return re;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy