(self, from_db, last_doc_pk=None, limit=500)
return query.order_by(self.primary_key_field_name)[:limit]
Get a batch of
        :param from_db: The DB alias to query
        :param last_doc_pk: The primary key of the last doc from the previous batch
        :param limit: Desired batch size
        :return: List of documents
Get a batch of
        :param from_db: The DB alias to query
        :param last_doc_pk: The primary key of the last doc from the previous batch
        :param limit: Desired batch size
        :return: List of documents
Get a batch of : param from_db : The DB alias to query : param last_doc_pk : The primary key of the last doc from the previous batch : param limit : Desired batch size : return : List of documents
def get_docs(self, from_db, last_doc_pk=None, limit=500):
        """Get a batch of
        :param from_db: The DB alias to query
        :param last_doc_pk: The primary key of the last doc from the previous batch
        :param limit: Desired batch size
        :return: List of documents
        """
        query = self.query(from_db, last_doc_pk)
        return query.order_by(self.primary_key_field_name)[:limit]
def get_docs ( self , from_db , last_doc_pk = None , limit = 500 ) : query = self . query ( from_db , last_doc_pk ) return query . order_by ( self . primary_key_field_name ) [ : limit ]