From da1392ff83d7327c75173708b3bd03ebf3cfff36 Mon Sep 17 00:00:00 2001 From: Igor Milyakov Date: Mon, 3 Jun 2024 17:01:03 -0700 Subject: [PATCH] Make Statement.setPagingSize method public --- Sources/CassandraClient/Statement.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/CassandraClient/Statement.swift b/Sources/CassandraClient/Statement.swift index caac506..d8c2a05 100644 --- a/Sources/CassandraClient/Statement.swift +++ b/Sources/CassandraClient/Statement.swift @@ -131,7 +131,8 @@ extension CassandraClient { return cass_statement_bind_collection(self.rawPointer, index, collection) } - func setPagingSize(_ pagingSize: Int32) throws { + /// Sets the paging size of the returned paginated results. + public func setPagingSize(_ pagingSize: Int32) throws { try checkResult { cass_statement_set_paging_size(self.rawPointer, pagingSize) } }