BoxerQueryOption class
Class of holding the query/where sql parameters
Constructors
- BoxerQueryOption()
- BoxerQueryOption.e({required String column, required Object? value})
-
equals
factory
-
BoxerQueryOption.eM({required Map<
String, dynamic> map, BoxerOptionType join = BoxerOptionType.AND}) -
factory
-
BoxerQueryOption.eq({required List<
String> columns, required List<Object?> values, BoxerOptionType join = BoxerOptionType.AND}) -
factory
- BoxerQueryOption.g({required String column, required Object? value})
-
greater than
factory
-
BoxerQueryOption.gM({required Map<
String, dynamic> map, BoxerOptionType join = BoxerOptionType.AND}) -
factory
-
BoxerQueryOption.gt({required List<
String> columns, required List<Object?> values, BoxerOptionType join = BoxerOptionType.AND}) -
factory
- BoxerQueryOption.isNull({required String column})
-
is null
factory
-
BoxerQueryOption.isNulls({required List<
String> columns, BoxerOptionType join = BoxerOptionType.AND}) -
factory
- BoxerQueryOption.l({required String column, required Object? value})
-
less than
factory
- BoxerQueryOption.like({required String column, required Object? value})
-
like
factory
-
BoxerQueryOption.likes({required List<
String> columns, required List<Object?> values, BoxerOptionType join = BoxerOptionType.AND}) -
factory
-
BoxerQueryOption.lM({required Map<
String, dynamic> map, BoxerOptionType join = BoxerOptionType.AND}) -
factory
-
BoxerQueryOption.lt({required List<
String> columns, required List<Object?> values, BoxerOptionType join = BoxerOptionType.AND}) -
factory
-
BoxerQueryOption.merge(List<
BoxerQueryOption> options, {BoxerOptionType join = BoxerOptionType.AND}) -
AttentiongroupByhavinglimitoffsetare implemented by mergefactory - BoxerQueryOption.n({required String column, required Object? value})
-
not equals
factory
-
BoxerQueryOption.ne({required List<
String> columns, required List<Object?> values, BoxerOptionType join = BoxerOptionType.AND}) -
factory
-
BoxerQueryOption.nM({required Map<
String, dynamic> map, BoxerOptionType join = BoxerOptionType.AND}) -
factory
Properties
-
columns
↔ List<
String> ? -
getter/setter pair
- distinct ↔ bool?
-
getter/setter pair
- groupBy ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- having ↔ String?
-
getter/setter pair
- limit ↔ int?
-
getter/setter pair
- offset ↔ int?
-
getter/setter pair
- orderBy ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- where ↔ String?
-
getter/setter pair
-
whereArgs
↔ List<
Object?> ? -
getter/setter pair
Methods
-
clone(
) → BoxerQueryOption -
group(
) → BoxerQueryOption -
insert(
{String? where, List< Object?> ? whereArgs, BoxerOptionType join = BoxerOptionType.AND, bool isInsertInFront = false}) → void -
merge(
BoxerQueryOption? option, {BoxerOptionType join = BoxerOptionType.AND}) → BoxerQueryOption -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
{BoxerQueryOption? option}) → BoxerQueryOption -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
ensureLegality(
{required List< String> columns, required List<Object?> values}) → bool - Utils
-
joinWith(
List< String> list, BoxerOptionType type) → String? -
optionTypeToString(
BoxerOptionType type) → String