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

Method allows_dups

tiledb/sm/cpp_api/array_schema.h:195–201  ·  view source on GitHub ↗

Returns `true` if the array allows coordinate duplicates. */

Source from the content-addressed store, hash-verified

193
194 /** Returns `true` if the array allows coordinate duplicates. */
195 bool allows_dups() const {
196 auto& ctx = ctx_.get();
197 int allows_dups;
198 ctx.handle_error(tiledb_array_schema_get_allows_dups(
199 ctx.ptr().get(), schema_.get(), &allows_dups));
200 return (bool)allows_dups;
201 }
202
203 /**
204 * Sets whether the array allows coordinate duplicates. It throws

Callers

nothing calls this directly

Calls 4

handle_errorMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected