StoredProcedure class
Execute database stored procedures
Constructors
- StoredProcedure({required String name, String schema = 'public', List parameters = const [], DatabaseConnection? connection})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- parameters → List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → String
-
final
Methods
-
execute(
) → Future< List< Map< >String, dynamic> > - Execute procedure and return results
-
executeNonQuery(
) → Future< void> - Execute procedure for non-query operations
-
executeScalar(
) → Future - Execute procedure and get scalar result
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConnection(
DatabaseConnection connection) → void - Set connection
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited