index cfdf48db8ea7d63fd1c2ef718901706bd10ca2e0..7ff111c1f17395218874a5d954b554cc39d02628 100644 (file)
--- a/src/include/core/data.h
+++ b/src/include/core/data.h
_Bool
sdb_data_isnull(const sdb_data_t *datum);
+/*
+ * sdb_data_inarray:
+ * Determine whether a datum is included in an array based on the usual
+ * comparison function of the value's type. The element type of the array has
+ * to match the type of the value.
+ */
+_Bool
+sdb_data_inarray(const sdb_data_t *value, const sdb_data_t *array);
+
/*
* Operators supported by sdb_data_eval_expr.
*/