We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
jsonb_array_to_ore_64_8_v1
1 parent e3e291e commit 328d533Copy full SHA for 328d533
sql/011-core-functions.sql
@@ -158,6 +158,10 @@ CREATE CAST (text AS ore_64_8_v1_term)
158
159
DROP FUNCTION IF EXISTS jsonb_array_to_ore_64_8_v1(val jsonb);
160
161
+-- Casts a jsonb array of hex-encoded strings to the `ore_64_8_v1` composite type.
162
+-- In other words, this function takes the ORE index format sent through in the
163
+-- EQL payload from Proxy and decodes it as the composite type that we use for
164
+-- ORE operations on the Postgres side.
165
CREATE FUNCTION jsonb_array_to_ore_64_8_v1(val jsonb)
166
RETURNS ore_64_8_v1 AS $$
167
DECLARE
0 commit comments