SqfliteFfiMethodCallHandler extension
Extension on MethodCall
Properties
- argumentsMap → Map
-
Read arguments as a map;
no setter
Methods
-
getContinueOnError(
) → bool - To ignore errors for batch.
-
getDatabase(
) → SqfliteFfiDatabase? - Find the database.
-
getDatabaseId(
) → int? - Get the id from the arguments.
-
getDatabaseOrThrow(
) → SqfliteFfiDatabase - Find the database or throw.arguments
-
getDatabasesPath(
) → String - Default database path.
-
getNoResult(
) → bool - Get the no result argument.
-
getOperations(
) → List< SqfliteFfiOperation> - Get the list of operations.
-
getPath(
) → String? - Return the path argument if any
-
getSql(
) → String? - Get the sql command.
-
getSqlArguments(
) → List< Object?> ? - Check the arguments
-
handleBatch(
) → Future - Handle batch.
-
handleCloseDatabase(
) → Future - Handle close database.
-
handleDatabaseExists(
) → Future< bool> -
Handle
databaseExists
. -
handleDebugMode(
) → Future - Handle debug mode.
-
handleDeleteDatabase(
) → Future< void> - Handle delete database.
-
handleExecute(
) → Future - Handle execute.
-
handleGetDatabasesPath(
) → Future - Get the databases path.
-
handleImpl(
) → Future - Main handling.
-
handleInsert(
) → Future< int?> - Handle insert.
-
handleOpenDatabase(
) → Future - Handle open database.
-
handleOptions(
) → Future - Handle options.
-
handleQuery(
) → Future - Handle query.
-
handleUpdate(
) → Future< int> - Handle udpate.
-
isInMemory(
String path) → bool - Check if path in memory.
-
rawHandle(
) → Future - Handle a method call
-
synchronized<
T> (Future< T> action()) → Future<T> - Locked per instance unless in memory.
-
wrapAnyException(
dynamic e) → SqfliteFfiException - Wrap the exception, keeping sql/sqlArguments in error
-
wrapSqlException(
SqliteException e, {String? code, Map< String, Object?> ? details}) → SqfliteFfiException - Wrap SQL exception.