Skip to content

Commit b8be819

Browse files
committed
Cleanup
1 parent f4afeec commit b8be819

File tree

1 file changed

+0
-16
lines changed
  • firebase-firestore/src/androidMain/kotlin/dev/gitlive/firebase/firestore

1 file changed

+0
-16
lines changed

firebase-firestore/src/androidMain/kotlin/dev/gitlive/firebase/firestore/firestore.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -372,22 +372,6 @@ actual open class Query(open val android: AndroidQuery) {
372372
}
373373
)
374374

375-
private fun <T : Any> AndroidQuery.whereField(
376-
field: String,
377-
nullable: T?,
378-
modified: AndroidQuery.(String, T) -> AndroidQuery
379-
) : AndroidQuery = nullable?.let {
380-
modified(field, it)
381-
} ?: this
382-
383-
private fun <T : Any> AndroidQuery.wherePath(
384-
path: FieldPath,
385-
nullable: T?,
386-
modified: AndroidQuery.(com.google.firebase.firestore.FieldPath, T) -> AndroidQuery
387-
) : AndroidQuery = nullable?.let {
388-
modified(path.android, it)
389-
} ?: this
390-
391375
internal actual fun _orderBy(field: String, direction: Direction) = Query(android.orderBy(field, direction))
392376
internal actual fun _orderBy(field: FieldPath, direction: Direction) = Query(android.orderBy(field.android, direction))
393377

0 commit comments

Comments
 (0)