apple / swift-cassandra-client

Cassandra client in Swift
https://swiftpackageindex.com/apple/swift-cassandra-client/main/documentation/cassandraclient
Apache License 2.0
94 stars 21 forks source link

`Session` doesn't support decoding & paging mode #31

Open gmilos opened 3 months ago

gmilos commented 3 months ago

Session supports couple of query types that decode the data type automatically, e.g.: https://github.com/apple/swift-cassandra-client/blob/4c395e6a0d915c40ae1d65731a0582c256fcb8da/Sources/CassandraClient/Session.swift#L133-L145

Separately, Session supports paging queries, for example: https://github.com/apple/swift-cassandra-client/blob/4c395e6a0d915c40ae1d65731a0582c256fcb8da/Sources/CassandraClient/Session.swift#L173-L189

What's missing is a query that'd do both paging & decoding.