Upgrading cloud_firestore 5 to 6
Breaking5.6.12 → 6.10.2Breaking3New10Changed5Fixed18Other8
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Some older Firestore functions that were already marked as deprecated have been removed, so code using them will stop working.
- On iOS, the app now uses a newer version of the Firebase software library.
- On Android, the app now uses a newer version of the Firebase software library.
Must act 3 items need code or config changes
Dart SDK requirement changed in 6.4.0: >=3.2.0 <4.0.0 → ^3.6.0.
Flutter requirement changed in 6.4.0: >=3.3.0 → >=3.27.0.
What you must change
Breaking3
Removes deprecated Firestore functions.
Bumps the iOS Firebase SDK to version 12.0.0.
Bumps the Android Firebase SDK to version 34.0.0.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
field FirebaseFirestore.databaseURL: String - removed:
method FirebaseFirestore.enablePersistence([ PersistenceSettings? persistenceSettings, ]): Future<void> - removed:
method FirebaseFirestore.setIndexConfiguration({ required List<Index> indexes, List<FieldOverrides>? fieldOverrides, }): Future<void> - changed:
class FirebaseFirestore extends FirebasePluginPlatform → class FirebaseFirestore extends FirebasePlugin - changed:
method Transaction.update( DocumentReference documentReference, Map<String, dynamic> data, ): Transaction → method Transaction.update( DocumentReference documentReference, Map<Object, Object?> data, ): Transaction - changed:
method WriteBatch.update(DocumentReference document, Map<String, dynamic> data): void → method WriteBatch.update<T>(DocumentReference<T> document, T data): void - changed:
static method FirebaseFirestore.instanceFor({ required FirebaseApp app, @Deprecated( '`databaseURL` has been deprecated. Please use `databaseId` instead.', ) String? databaseURL, String? databaseId, }): FirebaseFirestore → static method FirebaseFirestore.instanceFor({ required FirebaseApp app, String? databaseId, }): FirebaseFirestore - added:
class AggregateOptions implements PipelineSerializable - added:
class AggregateStageOptions implements PipelineSerializable - added:
class AliasedAggregateFunction implements PipelineSerializable - added:
class AliasedExpression extends Selectable - added:
class ArrayAgg extends PipelineAggregateFunction - added:
class ArrayAggDistinct extends PipelineAggregateFunction - added:
class Average extends PipelineAggregateFunction - added:
class BooleanExpression: abstract extends Expression - added:
class Concat extends FunctionExpression - added:
class Constant extends Expression - added:
class Count extends PipelineAggregateFunction - added:
class CountAll extends PipelineAggregateFunction - added:
class CountDistinct extends PipelineAggregateFunction - added:
class ExecuteOptions - added:
class Expression: abstract implements PipelineSerializable - added:
class Field extends Selectable - added:
class First extends PipelineAggregateFunction - added:
class FunctionExpression: abstract extends Expression - added:
class Last extends PipelineAggregateFunction - added:
class Maximum extends PipelineAggregateFunction - added:
class Minimum extends PipelineAggregateFunction - added:
class Ordering implements PipelineSerializable - added:
class Pipeline - added:
class PipelineAggregateFunction: abstract implements PipelineSerializable - added:
class PipelineResult - added:
class PipelineSample: abstract implements PipelineSerializable - added:
class PipelineSnapshot - added:
class PipelineSource - added:
class PipelineStage: sealed implements PipelineSerializable - added:
class SearchStage: final implements PipelineSerializable - added:
class Selectable: abstract extends Expression - added:
class Sum extends PipelineAggregateFunction - added:
ctor AggregateOptions() - added:
ctor AggregateStageOptions({ required this.accumulators, this.groups, }) - added:
ctor AliasedAggregateFunction({ required String alias, required this.aggregateFunction, }) - added:
ctor AliasedExpression({ required String alias, required this.expression, }) - added:
ctor ArrayAgg(this.expression) - added:
ctor ArrayAggDistinct(this.expression) - added:
ctor Average(this.expression) - added:
ctor Concat(this.expressions) - added:
ctor Constant(this.value) - added:
ctor Count(this.expression) - added:
ctor CountAll() - added:
ctor CountDistinct(this.expression) - added:
ctor ExecuteOptions({ this.indexMode = …, }) - added:
ctor Field(this.fieldName) - added:
ctor First(this.expression) - added:
ctor Last(this.expression) - added:
ctor Maximum(this.expression) - added:
ctor Minimum(this.expression) - added:
ctor Ordering(this.expression, this.direction) - added:
ctor PipelineResult({ this.document, this.createTime, this.updateTime, Map<String, dynamic>? data, }) - added:
ctor PipelineSample() - added:
ctor PipelineSample.withPercentage(double percentage) - added:
ctor PipelineSample.withSize(int size) - added:
ctor SearchStage.withQuery( String query, { List<Ordering>? sort, List<Selectable>? addFields, String? languageCode, int? limit, int? offset, int? retrievalDepth, }) - added:
ctor SearchStage.withQueryExpression( BooleanExpression query, { List<Ordering>? sort, List<Selectable>? addFields, String? languageCode, int? limit, int? offset, int? retrievalDepth, }) - added:
ctor Sum(this.expression) - added:
ctor Type(this.typeValue) - added:
enum DistanceMeasure - added:
enum IndexMode - added:
enum OrderDirection - added:
enum Type - added:
field AggregateStageOptions.accumulators: final List<AliasedAggregateFunction> - added:
field AggregateStageOptions.groups: final List<Selectable>? - added:
field AliasedAggregateFunction.aggregateFunction: final PipelineAggregateFunction - added:
field AliasedExpression.expression: final Expression - added:
field ArrayAgg.expression: final Expression - added:
field ArrayAggDistinct.expression: final Expression - added:
field Average.expression: final Expression - added:
field Concat.expressions: final List<Expression> - added:
field Constant.value: final Object? - added:
field Count.expression: final Expression - added:
field CountDistinct.expression: final Expression - added:
field ExecuteOptions.indexMode: final IndexMode - added:
field Field.fieldName: final String - added:
field First.expression: final Expression - added:
field Last.expression: final Expression - added:
field Maximum.expression: final Expression - added:
field Minimum.expression: final Expression - added:
field Ordering.direction: final OrderDirection - added:
field Ordering.expression: final Expression - added:
field PipelineResult.createTime: final DateTime? - added:
field PipelineResult.document: final DocumentReference<Map<String, dynamic>>? - added:
field PipelineResult.updateTime: final DateTime? - added:
field PipelineSnapshot.executionTime: final DateTime - added:
field PipelineSnapshot.result: final List<PipelineResult> - added:
field Sum.expression: final Expression - added:
field Type.typeValue: final String - added:
get AliasedAggregateFunction.alias: String - added:
get AliasedExpression.aliasName: String - added:
get AliasedExpression.name: String - added:
get ArrayAgg.name: String - added:
get ArrayAggDistinct.name: String - added:
get Average.name: String - added:
get Concat.name: String - added:
get Constant.name: String - added:
get Count.name: String - added:
get CountAll.name: String - added:
get CountDistinct.name: String - added:
get Expression.name: String - added:
get Field.aliasName: String - added:
get Field.expression: Expression - added:
get Field.name: String - added:
get First.name: String - added:
get Last.name: String - added:
get Maximum.name: String - added:
get Minimum.name: String - added:
get Pipeline.stages: List<Map<String, dynamic>> - added:
get PipelineAggregateFunction.name: String - added:
get PipelineStage.name: String - added:
get Selectable.aliasName: String - added:
get Selectable.expression: Expression - added:
get Sum.name: String - added:
member DistanceMeasure.cosine - added:
member DistanceMeasure.dotProduct - added:
member DistanceMeasure.euclidean - added:
member IndexMode.recommended - added:
member OrderDirection.asc - added:
member OrderDirection.desc - added:
member Type.array - added:
member Type.boolean - added:
member Type.bytes - added:
member Type.decimal128 - added:
member Type.float64 - added:
member Type.geoPoint - added:
member Type.int32 - added:
member Type.int64 - added:
member Type.map - added:
member Type.maxKey - added:
member Type.minKey - added:
member Type.nullValue - added:
member Type.number - added:
member Type.objectId - added:
member Type.reference - added:
member Type.regex - added:
member Type.requestTimestamp - added:
member Type.string - added:
member Type.timestamp - added:
member Type.vector - added:
method AggregateOptions.toMap(): Map<String, dynamic> - added:
method AggregateStageOptions.toMap(): Map<String, dynamic> - added:
method AliasedAggregateFunction.toMap(): Map<String, dynamic> - added:
method AliasedExpression.toMap(): Map<String, dynamic> - added:
method ArrayAgg.toMap(): Map<String, dynamic> - added:
method ArrayAggDistinct.toMap(): Map<String, dynamic> - added:
method Average.toMap(): Map<String, dynamic> - added:
method Concat.toMap(): Map<String, dynamic> - added:
method Constant.toMap(): Map<String, dynamic> - added:
method Count.toMap(): Map<String, dynamic> - added:
method CountDistinct.toMap(): Map<String, dynamic> - added:
method Expression.abs(): Expression - added:
method Expression.add(Expression other): Expression - added:
method Expression.addNumber(num other): Expression - added:
method Expression.alias(String alias): Selectable - added:
method Expression.arrayAgg(): PipelineAggregateFunction - added:
method Expression.arrayAggDistinct(): PipelineAggregateFunction - added:
method Expression.arrayConcat(Object? secondArray): Expression - added:
method Expression.arrayConcatMultiple(List<Object?> otherArrays): Expression - added:
method Expression.arrayContainsAll(List<Object?> values): BooleanExpression - added:
method Expression.arrayContainsAllFrom(Expression arrayExpression): BooleanExpression - added:
method Expression.arrayContainsAny(List<Object?> values): BooleanExpression - added:
method Expression.arrayContainsElement(Expression element): BooleanExpression - added:
method Expression.arrayContainsValue(Object? element): BooleanExpression - added:
method Expression.arrayFilter(String alias, BooleanExpression filter): Expression - added:
method Expression.arrayFirst(): Expression - added:
method Expression.arrayFirstN(Object? n): Expression - added:
method Expression.arrayIndexOf(Object? element): Expression - added:
method Expression.arrayIndexOfAll(Object? element): Expression - added:
method Expression.arrayLast(): Expression - added:
method Expression.arrayLastIndexOf(Object? element): Expression - added:
method Expression.arrayLastN(Object? n): Expression - added:
method Expression.arrayLength(): Expression - added:
method Expression.arrayMaximum(): Expression - added:
method Expression.arrayMaximumN(Object? n): Expression - added:
method Expression.arrayMinimum(): Expression - added:
method Expression.arrayMinimumN(Object? n): Expression - added:
method Expression.arrayReverse(): Expression - added:
method Expression.arraySlice(Object? offset, [Object? length]): Expression - added:
method Expression.arraySum(): Expression - added:
method Expression.arrayTransform(String elementAlias, Expression transform): Expression - added:
method Expression.arrayTransformWithIndex( String elementAlias, String indexAlias, Expression transform, ): Expression - added:
method Expression.as(String alias): AliasedExpression - added:
method Expression.asBoolean(): BooleanExpression - added:
method Expression.ascending(): Ordering - added:
method Expression.average(): PipelineAggregateFunction - added:
method Expression.bitAnd(Expression bitsOther): Expression - added:
method Expression.bitAndBytes(List<int> bitsOther): Expression - added:
method Expression.bitLeftShift(Expression numberExpr): Expression - added:
method Expression.bitLeftShiftLiteral(int number): Expression - added:
method Expression.bitNot(): Expression - added:
method Expression.bitOr(Expression bitsOther): Expression - added:
method Expression.bitOrBytes(List<int> bitsOther): Expression - added:
method Expression.bitRightShift(Expression numberExpr): Expression - added:
method Expression.bitRightShiftLiteral(int number): Expression - added:
method Expression.bitXor(Expression bitsOther): Expression - added:
method Expression.bitXorBytes(List<int> bitsOther): Expression - added:
method Expression.collectionId(): Expression - added:
method Expression.concat(List<Object?> others): Expression - added:
method Expression.count(): PipelineAggregateFunction - added:
method Expression.countDistinct(): PipelineAggregateFunction - added:
method Expression.descending(): Ordering - added:
method Expression.divide(Expression other): Expression - added:
method Expression.divideNumber(num other): Expression - added:
method Expression.documentId(): Expression - added:
method Expression.equal(Expression other): BooleanExpression - added:
method Expression.equalValue(Object? value): BooleanExpression - added:
method Expression.exists(): BooleanExpression - added:
method Expression.first(): PipelineAggregateFunction - added:
method Expression.greaterThan(Expression other): BooleanExpression - added:
method Expression.greaterThanOrEqual(Expression other): BooleanExpression - added:
method Expression.greaterThanOrEqualValue(Object? value): BooleanExpression - added:
method Expression.greaterThanValue(Object? value): BooleanExpression - added:
method Expression.ifAbsent(Expression elseExpr): Expression - added:
method Expression.ifAbsentValue(Object? elseValue): Expression - added:
method Expression.ifError(Expression catchExpr): Expression - added:
method Expression.ifErrorValue(Object? catchValue): Expression - added:
method Expression.ifNull(Expression replacement): Expression - added:
method Expression.ifNullValue(Object? replacement): Expression - added:
method Expression.isAbsent(): BooleanExpression - added:
method Expression.isError(): BooleanExpression - added:
method Expression.isType(Type valueType): BooleanExpression - added:
method Expression.join(Expression delimiter): Expression - added:
method Expression.joinLiteral(String delimiter): Expression - added:
method Expression.last(): PipelineAggregateFunction - added:
method Expression.length(): Expression - added:
method Expression.lessThan(Expression other): BooleanExpression - added:
method Expression.lessThanOrEqual(Expression other): BooleanExpression - added:
method Expression.lessThanOrEqualValue(Object? value): BooleanExpression - added:
method Expression.lessThanValue(Object? value): BooleanExpression - added:
method Expression.ltrim([Object? valueToTrim]): Expression - added:
method Expression.mapEntries(): Expression - added:
method Expression.mapGet(Expression key): Expression - added:
method Expression.mapGetLiteral(String key): Expression - added:
method Expression.mapKeys(): Expression - added:
method Expression.mapSet( Object? key, Object? value, [ List<Object?>? moreKeyValues, ]): Expression - added:
method Expression.mapValues(): Expression - added:
method Expression.maximum(): PipelineAggregateFunction - added:
method Expression.minimum(): PipelineAggregateFunction - added:
method Expression.modulo(Expression other): Expression - added:
method Expression.moduloNumber(num other): Expression - added:
method Expression.multiply(Expression other): Expression - added:
method Expression.multiplyNumber(num other): Expression - added:
method Expression.notEqual(Expression other): BooleanExpression - added:
method Expression.notEqualValue(Object? value): BooleanExpression - added:
method Expression.parent(): Expression - added:
method Expression.regexFind(Object? pattern): Expression - added:
method Expression.regexFindAll(Object? pattern): Expression - added:
method Expression.rtrim([Object? valueToTrim]): Expression - added:
method Expression.split(Expression delimiter): Expression - added:
method Expression.splitLiteral(String delimiter): Expression - added:
method Expression.stringIndexOf(Object? search): Expression - added:
method Expression.stringRepeat(Object? repetitions): Expression - added:
method Expression.stringReplaceAll(Expression find, Expression replacement): Expression - added:
method Expression.stringReplaceAllLiteral(String find, String replacement): Expression - added:
method Expression.stringReplaceOne(Expression find, Expression replacement): Expression - added:
method Expression.stringReplaceOneLiteral(String find, String replacement): Expression - added:
method Expression.substring(Expression start, Expression end): Expression - added:
method Expression.substringLiteral(int start, int end): Expression - added:
method Expression.subtract(Expression other): Expression - added:
method Expression.subtractNumber(num other): Expression - added:
method Expression.sum(): PipelineAggregateFunction - added:
method Expression.timestampDiff(Expression start, Object unit): Expression - added:
method Expression.timestampExtract(Object part, [Object? timezone]): Expression - added:
method Expression.toLowerCase(): Expression - added:
method Expression.toMap(): Map<String, dynamic> - added:
method Expression.toUpperCase(): Expression - added:
method Expression.trim(): Expression - added:
method Expression.trunc([Expression? decimals]): Expression - added:
method Expression.type(): Expression - added:
method Field.toMap(): Map<String, dynamic> - added:
method FirebaseFirestore.pipeline(): PipelineSource - added:
method First.toMap(): Map<String, dynamic> - added:
method Last.toMap(): Map<String, dynamic> - added:
method Maximum.toMap(): Map<String, dynamic> - added:
method Minimum.toMap(): Map<String, dynamic> - added:
method Ordering.toMap(): Map<String, dynamic> - added:
method Pipeline.addFields( Selectable selectable1, [ Selectable? selectable2, Selectable? selectable3, Selectable? selectable4, Selectable? selectable5, Selectable? selectable6, Selectable? selectable7, Selectable? selectable8, Selectable? selectable9, Selectable? selectable10, Selectable? selectable11, Selectable? selectable12, Selectable? selectable13, Selectable? selectable14, Selectable? sele… - added:
method Pipeline.aggregate( AliasedAggregateFunction aggregateFunction1, [ AliasedAggregateFunction? aggregateFunction2, AliasedAggregateFunction? aggregateFunction3, AliasedAggregateFunction? aggregateFunction4, AliasedAggregateFunction? aggregateFunction5, AliasedAggregateFunction? aggregateFunction6, AliasedAggregateFunction? aggregateFunction7, AliasedAggregateFunction? aggregateFunction8, Ali… - added:
method Pipeline.aggregateWithOptions( AggregateStageOptions aggregateStage, { AggregateOptions? options, }): Pipeline - added:
method Pipeline.distinct( Selectable expression1, [ Selectable? expression2, Selectable? expression3, Selectable? expression4, Selectable? expression5, Selectable? expression6, Selectable? expression7, Selectable? expression8, Selectable? expression9, Selectable? expression10, Selectable? expression11, Selectable? expression12, Selectable? expression13, Selectable? expression14, Selectable? expre… - added:
method Pipeline.execute({ExecuteOptions? options}): Future<PipelineSnapshot> - added:
method Pipeline.findNearest( Field vectorField, List<double> vectorValue, DistanceMeasure distanceMeasure, { int? limit, }): Pipeline - added:
method Pipeline.limit(int limit): Pipeline - added:
method Pipeline.offset(int offset): Pipeline - added:
method Pipeline.removeFields( String fieldPath1, [ String? fieldPath2, String? fieldPath3, String? fieldPath4, String? fieldPath5, String? fieldPath6, String? fieldPath7, String? fieldPath8, String? fieldPath9, String? fieldPath10, String? fieldPath11, String? fieldPath12, String? fieldPath13, String? fieldPath14, String? fieldPath15, String? fieldPath16, String? fieldPath17, String? fieldPath18,… - added:
method Pipeline.replaceWith(Expression expression): Pipeline - added:
method Pipeline.sample(PipelineSample sample): Pipeline - added:
method Pipeline.search(SearchStage searchStage): Pipeline - added:
method Pipeline.select( Selectable expression1, [ Selectable? expression2, Selectable? expression3, Selectable? expression4, Selectable? expression5, Selectable? expression6, Selectable? expression7, Selectable? expression8, Selectable? expression9, Selectable? expression10, Selectable? expression11, Selectable? expression12, Selectable? expression13, Selectable? expression14, Selectable? express… - added:
method Pipeline.sort( Ordering order, [ Ordering? order2, Ordering? order3, Ordering? order4, Ordering? order5, Ordering? order6, Ordering? order7, Ordering? order8, Ordering? order9, Ordering? order10, Ordering? order11, Ordering? order12, Ordering? order13, Ordering? order14, Ordering? order15, Ordering? order16, Ordering? order17, Ordering? order18, Ordering? order19, Ordering? order20, Orderi… - added:
method Pipeline.union(Pipeline pipeline): Pipeline - added:
method Pipeline.unnest(Selectable expression, [String? indexField]): Pipeline - added:
method Pipeline.where(BooleanExpression expression): Pipeline - added:
method PipelineAggregateFunction.as(String alias): AliasedAggregateFunction - added:
method PipelineAggregateFunction.toMap(): Map<String, dynamic> - added:
method PipelineResult.data(): Map<String, dynamic>? - added:
method PipelineSerializable.toMap(): Map<String, dynamic> - added:
method PipelineSource.collection(String collectionPath): Pipeline - added:
method PipelineSource.collectionGroup(String collectionId): Pipeline - added:
method PipelineSource.collectionReference( CollectionReference<Map<String, dynamic>> collectionReference, ): Pipeline - added:
method PipelineSource.database(): Pipeline - added:
method PipelineSource.documents(List<DocumentReference<Map<String, dynamic>>> documents): Pipeline - added:
method SearchStage.toMap(): Map<String, dynamic> - added:
method Sum.toMap(): Map<String, dynamic> - added:
mixin PipelineSerializable - added:
static method Expression.absField(String numericField): Expression - added:
static method Expression.absStatic(Expression numericExpr): Expression - added:
static method Expression.addField( String numericFieldName, Expression second, ): Expression - added:
static method Expression.addFieldNumber( String numericFieldName, num second, ): Expression - added:
static method Expression.addStatic( Expression first, Expression second, ): Expression - added:
static method Expression.addStaticNumber( Expression first, num second, ): Expression - added:
static method Expression.and( BooleanExpression expression1, [ BooleanExpression? expression2, BooleanExpression? expression3, BooleanExpression? expression4, BooleanExpression? expression5, BooleanExpression? expression6, BooleanExpression? expression7, BooleanExpression? expression8, BooleanExpression? expression9, BooleanExpression? expression10, BooleanExpression? expression11, BooleanExpress… - added:
static method Expression.array(List<Object?> elements): Expression - added:
static method Expression.arrayConcatStatic( Expression firstArray, Expression secondArray, List<Object?>? otherArrays, ): Expression - added:
static method Expression.arrayContainsAllField( String arrayFieldName, Expression arrayExpression, ): BooleanExpression - added:
static method Expression.arrayContainsAllValues( Expression array, List<Object?> values, ): BooleanExpression - added:
static method Expression.arrayContainsAllWithExpression( Expression array, Expression arrayExpression, ): BooleanExpression - added:
static method Expression.arrayContainsElementStatic( Expression array, Expression element, ): BooleanExpression - added:
static method Expression.arrayContainsField( String arrayFieldName, Object? element, ): BooleanExpression - added:
static method Expression.arrayFilterStatic( Expression array, String alias, BooleanExpression filter, ): Expression - added:
static method Expression.arrayLengthField(String arrayFieldName): Expression - added:
static method Expression.arrayLengthStatic(Expression array): Expression - added:
static method Expression.arrayReverseField(String arrayFieldName): Expression - added:
static method Expression.arrayReverseStatic(Expression array): Expression - added:
static method Expression.arraySliceStatic( Expression array, Object? offset, [ Object? length, ]): Expression - added:
static method Expression.arraySumField(String arrayFieldName): Expression - added:
static method Expression.arraySumStatic(Expression array): Expression - added:
static method Expression.arrayTransformStatic( Expression array, String elementAlias, Expression transform, ): Expression - added:
static method Expression.arrayTransformWithIndexStatic( Expression array, String elementAlias, String indexAlias, Expression transform, ): Expression - added:
static method Expression.coalesce( Expression first, Object second, [ Object? expression3, Object? expression4, Object? expression5, Object? expression6, Object? expression7, Object? expression8, Object? expression9, Object? expression10, Object? expression11, Object? expression12, Object? expression13, Object? expression14, Object? expression15, Object? expression16, Object? expression17, Object… - added:
static method Expression.concatStatic( Expression first, Expression second, List<Object?>? others, ): Expression - added:
static method Expression.conditional( BooleanExpression condition, Expression thenExpr, Expression elseExpr, ): Expression - added:
static method Expression.conditionalValues( BooleanExpression condition, Object? thenValue, Object? elseValue, ): Expression - added:
static method Expression.constant(Object? value): Expression - added:
static method Expression.constantBlob(Blob value): Expression - added:
static method Expression.constantBoolean(bool value): Expression - added:
static method Expression.constantBytes(List<int> value): Expression - added:
static method Expression.constantDateTime(DateTime value): Expression - added:
static method Expression.constantDocumentReference(DocumentReference value): Expression - added:
static method Expression.constantGeoPoint(GeoPoint value): Expression - added:
static method Expression.constantNumber(num value): Expression - added:
static method Expression.constantString(String value): Expression - added:
static method Expression.constantTimestamp(Timestamp value): Expression - added:
static method Expression.constantVector(VectorValue value): Expression - added:
static method Expression.currentTimestamp(): Expression - added:
static method Expression.divideStatic( Expression dividend, Expression divisor, ): Expression - added:
static method Expression.documentIdFromRef(DocumentReference docRef): Expression - added:
static method Expression.documentMatches(String query): BooleanExpression - added:
static method Expression.equalAny( Expression value, List<Object?> values, ): BooleanExpression - added:
static method Expression.equalField( String fieldName, Object? value, ): BooleanExpression - added:
static method Expression.equalStatic( Expression left, Expression right, ): BooleanExpression - added:
static method Expression.equalStaticValue( Expression left, Object? right, ): BooleanExpression - added:
static method Expression.existsField(String fieldName): BooleanExpression - added:
static method Expression.field(String fieldPath): Field - added:
static method Expression.fieldPath(FieldPath fieldPath): Field - added:
static method Expression.greaterThanField( String fieldName, Object? value, ): BooleanExpression - added:
static method Expression.greaterThanOrEqualStatic( Expression left, Expression right, ): BooleanExpression - added:
static method Expression.greaterThanStatic( Expression left, Expression right, ): BooleanExpression - added:
static method Expression.greaterThanStaticValue( Expression left, Object? right, ): BooleanExpression - added:
static method Expression.ifAbsentStatic( Expression ifExpr, Expression elseExpr, ): Expression - added:
static method Expression.ifAbsentValueStatic( Expression ifExpr, Object? elseValue, ): Expression - added:
static method Expression.ifErrorStatic( Expression tryExpr, Expression catchExpr, ): Expression - added:
static method Expression.isAbsentField(String fieldName): BooleanExpression - added:
static method Expression.isAbsentStatic(Expression value): BooleanExpression - added:
static method Expression.isErrorStatic(Expression expr): BooleanExpression - added:
static method Expression.isTypeStatic( Expression expression, Type valueType, ): BooleanExpression - added:
static method Expression.joinField( String arrayFieldName, String delimiter, ): Expression - added:
static method Expression.joinStatic( Expression arrayExpression, Expression delimiterExpression, ): Expression - added:
static method Expression.joinStaticLiteral( Expression arrayExpression, String delimiter, ): Expression - added:
static method Expression.lengthField(String fieldName): Expression - added:
static method Expression.lengthStatic(Expression expr): Expression - added:
static method Expression.lessThanField( String fieldName, Object? value, ): BooleanExpression - added:
static method Expression.lessThanOrEqualStatic( Expression left, Expression right, ): BooleanExpression - added:
static method Expression.lessThanStatic( Expression left, Expression right, ): BooleanExpression - added:
static method Expression.lessThanStaticValue( Expression left, Object? right, ): BooleanExpression - added:
static method Expression.map(Map<String, Object?> data): Expression - added:
static method Expression.moduloStatic( Expression dividend, Expression divisor, ): Expression - added:
static method Expression.multiplyStatic( Expression multiplicand, Expression multiplier, ): Expression - added:
static method Expression.nor( BooleanExpression expression1, [ BooleanExpression? expression2, BooleanExpression? expression3, BooleanExpression? expression4, BooleanExpression? expression5, BooleanExpression? expression6, BooleanExpression? expression7, BooleanExpression? expression8, BooleanExpression? expression9, BooleanExpression? expression10, BooleanExpression? expression11, BooleanExpress… - added:
static method Expression.not(BooleanExpression expression): BooleanExpression - added:
static method Expression.notEqualAny( Expression value, List<Object?> values, ): BooleanExpression - added:
static method Expression.notEqualStatic( Expression left, Expression right, ): BooleanExpression - added:
static method Expression.notEqualStaticValue( Expression left, Object? right, ): BooleanExpression - added:
static method Expression.nullValue(): Expression - added:
static method Expression.or( BooleanExpression expression1, [ BooleanExpression? expression2, BooleanExpression? expression3, BooleanExpression? expression4, BooleanExpression? expression5, BooleanExpression? expression6, BooleanExpression? expression7, BooleanExpression? expression8, BooleanExpression? expression9, BooleanExpression? expression10, BooleanExpression? expression11, BooleanExpressi… - added:
static method Expression.parentFromRef(DocumentReference docRef): Expression - added:
static method Expression.rand(): Expression - added:
static method Expression.rawFunction( String name, List<Expression> args, ): Expression - added:
static method Expression.splitStatic( Expression stringExpr, Expression delimiter, ): Expression - added:
static method Expression.stringReplaceAllStatic( Expression stringExpr, Expression find, Expression replacement, ): Expression - added:
static method Expression.substringStatic( Expression stringExpr, Expression start, Expression end, ): Expression - added:
static method Expression.subtractStatic( Expression minuend, Expression subtrahend, ): Expression - added:
static method Expression.switchOn( BooleanExpression condition, Expression result, [ Object? arg3, Object? arg4, Object? arg5, Object? arg6, Object? arg7, Object? arg8, Object? arg9, Object? arg10, Object? arg11, Object? arg12, Object? arg13, Object? arg14, Object? arg15, Object? arg16, Object? arg17, Object? arg18, Object? arg19, Object? arg20, Object? arg21, Object? arg22, Object? arg23, Object… - added:
static method Expression.timestampAdd( Expression timestamp, String unit, Expression amount, ): Expression - added:
static method Expression.timestampAddLiteral( Expression timestamp, String unit, int amount, ): Expression - added:
static method Expression.timestampDiffStatic( Expression end, Expression start, Object unit, ): Expression - added:
static method Expression.timestampSubtract( Expression timestamp, String unit, Expression amount, ): Expression - added:
static method Expression.timestampSubtractLiteral( Expression timestamp, String unit, int amount, ): Expression - added:
static method Expression.timestampTruncate( Expression timestamp, String unit, ): Expression - added:
static method Expression.toLowerCaseField(String stringField): Expression - added:
static method Expression.toLowerCaseStatic(Expression stringExpr): Expression - added:
static method Expression.toUpperCaseField(String stringField): Expression - added:
static method Expression.toUpperCaseStatic(Expression stringExpr): Expression - added:
static method Expression.trimField(String stringField): Expression - added:
static method Expression.trimStatic(Expression stringExpr): Expression - added:
static method Expression.xor( BooleanExpression expression1, [ BooleanExpression? expression2, BooleanExpression? expression3, BooleanExpression? expression4, BooleanExpression? expression5, BooleanExpression? expression6, BooleanExpression? expression7, BooleanExpression? expression8, BooleanExpression? expression9, BooleanExpression? expression10, BooleanExpression? expression11, BooleanExpress…