elemental2.dom.SQLTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elemental2-dom Show documentation
Show all versions of elemental2-dom Show documentation
Thin Java abstractions for the native Browser APIs.
package elemental2.dom;
import jsinterop.annotations.JsFunction;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class SQLTransaction {
@JsFunction
public interface ExecuteSqlErrorCallbackFn {
boolean onInvoke(SQLTransaction p0, SQLError p1);
}
public native void executeSql(
String sqlStatement,
Object[] queryArgs,
SQLStatementCallback callback,
SQLTransaction.ExecuteSqlErrorCallbackFn errorCallback);
public native void executeSql(
String sqlStatement, Object[] queryArgs, SQLStatementCallback callback);
public native void executeSql(String sqlStatement, Object[] queryArgs);
public native void executeSql(String sqlStatement);
}