SessionPrepareAsync Method (String, String) | 
 
            Prepares the query asynchronously on the provided keyspace.
            
 
    Namespace: 
   Cassandra
    Assembly:
   Cassandra (in Cassandra.dll) Version: 3.13.0
Syntaxpublic Task<PreparedStatement> PrepareAsync(
	string cqlQuery,
	string keyspace
)
Parameters
- cqlQuery
 - Type: SystemString
Cql query to prepare - keyspace
 - Type: SystemString
The keyspace to prepare this query with 
Return Value
Type: 
TaskPreparedStatementImplements
ISessionPrepareAsync(String, String)
RemarksSetting the keyspace parameter is only available with protocol v5 (not supported by the driver yet) or DSE 6.0+.
See Also