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.
1 parent dda8286 commit 8d8e55cCopy full SHA for 8d8e55c
docs/query/DuneSQL-reference/Functions-and-operators/varbinary.md
@@ -271,11 +271,8 @@ Returns the index of the first occurrence of a given bytearray or string (or 0 i
271
272
273
```sql
274
--- search for 0x6cc2 and replaced with 0xabcd
275
--- 0xc02aaa39b223fe8d0a0e5c4f27ead9083c75abcd as output
276
-SELECT bytearray_replace('0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
277
- '0x6cc2',
278
- '0xabcd')
+-- search for '0x6cc2' and return its position
+SELECT bytearray_position('0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2','0x6cc2')
279
```
280
281
#### bytearray_replace()
0 commit comments