TableBase class abstract
Collected some string functions below
Map<String, dynamic> toMap({bool forQuery = false, bool forJson = false, bool forView = false});
Future<Map<String, dynamic>> toMapWithChildren(bool forQuery = false, bool forJson = false, bool forView = false
);
String toJson();
Future
- Inheritance
-
- Object
- CrudOperationsBase
- TableBase
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInsert ↔ bool
-
Indicates whether an insertion was made or not
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveResult ↔ BoolResult?
-
getter/setter pair
- softDeleteActivated ↔ bool
-
getter/setter pair
Methods
-
delete(
[bool hardDelete = false]) → Future< BoolResult> -
Deletes Object
inherited
-
distinct(
{List< String> ? columnsToSelect, bool? getIsDeleted}) → ConjunctionBase -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recover(
[bool recoverChilds = true]) → Future< BoolResult> -
Recover Object
inherited
-
rollbackPk(
) → void - If an insertion was made with the object, it cancels the PK
-
save(
{bool ignoreBatch = true}) → Future -
inherited
-
saveAs(
{bool ignoreBatch = true}) → Future -
inherited
-
saveOrThrow(
{bool ignoreBatch = true}) → Future -
inherited
-
select(
{List< String> ? columnsToSelect, bool? getIsDeleted}) → ConjunctionBase -
toArgs(
) → List -
toArgsWithIds(
) → List -
toJson(
) → String - This method returns Json String
-
toJsonWithChilds(
) → Future< String> -
This method returns Json String
Product
-
toMap(
{bool forQuery = false, bool forJson = false, bool forView = false}) → Map< String, dynamic> -
toMapWithChildren(
[bool forQuery = false, bool forJson = false, bool forView = false]) → Future< Map< String, dynamic> > -
toString(
) → String -
A string representation of this object.
inherited
-
upsert(
{bool ignoreBatch = true}) → Future< int?> -
Updates if the record exists, otherwise adds a new row
inherited
-
upsertAll(
covariant List objList) → Future< BoolCommitResult> -
inserts or replaces the sent List<
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited