Getting collection/scope size

Hi,

Is there a way to get number of documents inside a collection & scope using the Java SDK?

Hi @tunix,

You can try running a query like the one below to get the number of documents inside a collection.

select count(*) from travel-sample.inventory.airline;

You can run this using the Query using the SDK by following the instructions here.