Exemplo n.º 1
0
 public IQuery WhereFieldIn(FieldPath path, object[] values)
 {
     return(_wrapped.WhereIn(path.ToNative(), values.Select(x => x.ToJavaObject()).ToArray()).ToAbstract());
 }
Exemplo n.º 2
0
 public IQuery WhereLessThanOrEqualsTo(FieldPath path, object value)
 {
     return(_wrapped.WhereLessThanOrEqualTo(path.ToNative(), value.ToJavaObject()).ToAbstract());
 }
Exemplo n.º 3
0
 public IQuery WhereArrayContains(FieldPath path, object value)
 {
     return(_wrapped.WhereArrayContains(path.ToNative(), value.ToJavaObject()).ToAbstract());
 }
Exemplo n.º 4
0
 public IQuery OrderBy(FieldPath path, bool @descending = false)
 {
     return(_wrapped.OrderBy(path.ToNative(), descending ? Query.Direction.Descending : Query.Direction.Ascending).ToAbstract());
 }
Exemplo n.º 5
0
 public IQuery WhereGreaterThan(FieldPath path, object value)
 {
     return(_wrapped.WhereGreaterThan(path.ToNative(), value.ToJavaObject()).ToAbstract());
 }
 public IQuery WhereGreaterThanOrEqualsTo(FieldPath path, object value)
 {
     return(_wrapped.WhereGreaterThanOrEqualsTo(path.ToNative(), value).ToAbstract());
 }
Exemplo n.º 7
0
 public static NativeFieldPath ToNative(this FieldPath @this)
 {
     return(@this.IsDocumentId ? NativeFieldPath.DocumentId() : NativeFieldPath.Of(@this.Fields));
 }
 public IQuery WhereLessThan(FieldPath path, object value)
 {
     return(_wrapped.WhereLessThan(path.ToNative(), value).ToAbstract());
 }
 public IQuery OrderBy(FieldPath path, bool @descending = false)
 {
     return(_wrapped.OrderedBy(path.ToNative(), descending).ToAbstract());
 }
 public IQuery WhereFieldIn(FieldPath path, object[] values)
 {
     return(_wrapped.WhereFieldIn(path.ToNative(), values).ToAbstract());
 }
 public IQuery WhereArrayContainsAny(FieldPath path, object[] values)
 {
     return(_wrapped.WhereArrayContainsAny(path.ToNative(), values).ToAbstract());
 }
 public static NativeFieldPath ToNative(this FieldPath @this)
 {
     return(@this.IsDocumentId ? NativeFieldPath.GetDocumentId() : new NativeFieldPath(@this.Fields));
 }