|
11 | 11 | --! containment queries (@>, <@). If no 'sv' field exists, wraps the entire payload |
12 | 12 | --! as a single-element array. |
13 | 13 | --! |
14 | | ---! @param val JSONB Encrypted data payload containing index terms |
| 14 | +--! @param val jsonb containing encrypted EQL payload |
15 | 15 | --! @return eql_v2_encrypted[] Array of encrypted STE vector elements |
16 | 16 | --! |
17 | 17 | --! @see eql_v2.ste_vec(eql_v2_encrypted) |
@@ -63,7 +63,7 @@ $$ LANGUAGE plpgsql; |
63 | 63 | --! Tests whether the encrypted data payload contains an 'sv' field with exactly |
64 | 64 | --! one element. Single-element STE vectors can be treated as regular encrypted values. |
65 | 65 | --! |
66 | | ---! @param val JSONB Encrypted data payload |
| 66 | +--! @param val jsonb containing encrypted EQL payload |
67 | 67 | --! @return Boolean True if 'sv' field exists with exactly one element |
68 | 68 | --! |
69 | 69 | --! @see eql_v2.to_ste_vec_value |
@@ -104,7 +104,7 @@ $$ LANGUAGE plpgsql; |
104 | 104 | --! as a regular encrypted value, preserving metadata. If the input is not a |
105 | 105 | --! single-element STE vector, returns it unchanged. |
106 | 106 | --! |
107 | | ---! @param val JSONB Encrypted data payload |
| 107 | +--! @param val jsonb containing encrypted EQL payload |
108 | 108 | --! @return eql_v2_encrypted Regular encrypted value (unwrapped if single-element STE vector) |
109 | 109 | --! |
110 | 110 | --! @see eql_v2.is_ste_vec_value |
@@ -156,7 +156,7 @@ $$ LANGUAGE plpgsql; |
156 | 156 | --! Extracts the selector ('s') field from an encrypted data payload. |
157 | 157 | --! Selectors are used to match STE vector elements during containment queries. |
158 | 158 | --! |
159 | | ---! @param val JSONB Encrypted data payload |
| 159 | +--! @param val jsonb containing encrypted EQL payload |
160 | 160 | --! @return Text The selector value |
161 | 161 | --! @throws Exception if 's' field is missing |
162 | 162 | --! |
@@ -203,7 +203,7 @@ $$ LANGUAGE plpgsql; |
203 | 203 | --! Tests whether the encrypted data payload has the 'a' (array) flag set to true, |
204 | 204 | --! indicating it represents an array for STE vector operations. |
205 | 205 | --! |
206 | | ---! @param val JSONB Encrypted data payload |
| 206 | +--! @param val jsonb containing encrypted EQL payload |
207 | 207 | --! @return Boolean True if 'a' field is present and true |
208 | 208 | --! |
209 | 209 | --! @see eql_v2.ste_vec |
|
0 commit comments