Göreli konum

Açıklama

İlk N giriş dokümanını atlar.

Örnekler

Node.js
const results = await db.pipeline()
  .collection("cities")
  .offset(10)
  .execute();

Web

const results = await execute(db.pipeline()
  .collection("cities")
  .offset(10));
Swift
let results = try await db.pipeline()
  .collection("cities")
  .offset(10)
  .execute()

Kotlin

val results = db.pipeline()
    .collection("cities")
    .offset(10)
    .execute()

Java

Task<Pipeline.Snapshot> results = db.pipeline()
        .collection("cities")
        .offset(10)
        .execute();
Python
results = client.pipeline().collection("cities").offset(10).execute()
Java
Pipeline.Snapshot results =
    firestore.pipeline().collection("cities").offset(10).execute().get();
Go
snapshot := client.Pipeline().Collection("cities").Offset(10).Execute(ctx)

Davranış

offset(...) aşamasında ilk N giriş dokümanı atlanır. Kaydırmadan önce bir sort(...) aşaması kullanılmadığı sürece, belgelerin döndürülme sırası kararsızdır ve tekrarlanan yürütmeler farklı sonuçlar üretebilir.