Module insert

Module insert 

Source
Expand description

MySQL-compatible INSERT function implementation.

INSERT(str, pos, len, newstr) - Inserts newstr into str at position pos, replacing len characters.

Structsยง

InsertFunction
MySQL-compatible INSERT function.

Constantsยง

NAME ๐Ÿ”’

Functionsยง

cast_to_int64 ๐Ÿ”’
cast_to_large_utf8 ๐Ÿ”’
Cast array to LargeUtf8 for uniform string access.
char_to_byte_idx ๐Ÿ”’
insert_string ๐Ÿ”’
Perform the INSERT string operation. pos is 1-based. If pos < 1 or pos > len(str) + 1, returns original string.