SQLiteAsync

Added in 2.7.0-alpha03

public final class SQLiteAsync


Summary

Public methods

static final void

Executes a single SQL statement that returns no values.

static final @NonNull SQLiteConnection
open(@NonNull SQLiteDriver receiver, @NonNull String fileName)

Opens a new database connection.

static final @NonNull SQLiteStatement

Prepares a new SQL statement.

static final boolean

Executes the statement and evaluates the next result row if available.

Public methods

public static final void executeSQL(@NonNull SQLiteConnection receiver, @NonNull String sql)

Executes a single SQL statement that returns no values.

On web targets this function is asynchronous while for non-web it is synchronous.

public static final @NonNull SQLiteConnection open(@NonNull SQLiteDriver receiver, @NonNull String fileName)

Opens a new database connection.

On web targets this function is asynchronous while for non-web it is synchronous.

public static final @NonNull SQLiteStatement prepare(@NonNull SQLiteConnection receiver, @NonNull String sql)

Prepares a new SQL statement.

On web targets this function is asynchronous while for non-web it is synchronous.

public static final boolean step(@NonNull SQLiteStatement receiver)

Executes the statement and evaluates the next result row if available.

On web targets this function is asynchronous while for non-web it is synchronous.