MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / ensure_query_is_valid

Function ensure_query_is_valid

tiledb/api/c_api/query/query_api_internal.h:48–52  ·  view source on GitHub ↗

* Validation function for a TileDB query * Throws in case the argument or its internal state is nullptr * * @param query A C api query pointer */

Source from the content-addressed store, hash-verified

46 * @param query A C api query pointer
47 */
48inline void ensure_query_is_valid(tiledb_query_t* query) {
49 if (!query || !query->query_) {
50 throw CAPIStatusException("argument `query` may not be nullptr");
51 }
52}
53
54/**
55 * Validation function for a TileDB query

Calls

no outgoing calls

Tested by

no test coverage detected