* Validation function for a TileDB query * Throws in case the argument or its internal state is nullptr * * @param query A C api query pointer */
| 46 | * @param query A C api query pointer |
| 47 | */ |
| 48 | inline 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 |
no outgoing calls
no test coverage detected