1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
Execution example::
plugin_register functions/string
# [[0,1337566253.89858,0.000355720520019531],true]
select Entries \
--columns[content_length].stage initial \
--columns[content_length].type UInt32 \
--columns[content_length].value 'string_length(content)' \
--output_columns _id,content,content_length
# [
# [
# 0,
# 1337566253.89858,
# 0.000355720520019531
# ],
# [
# [
# [
# 5
# ],
# [
# [
# "_id",
# "UInt32"
# ],
# [
# "content",
# "Text"
# ],
# [
# "content_length",
# "UInt32"
# ]
# ],
# [
# 1,
# "Welcome! This is my first post!",
# 31
# ],
# [
# 2,
# "I started to use Groonga. It's very fast!",
# 41
# ],
# [
# 3,
# "I also started to use Mroonga. It's also very fast! Really fast!",
# 64
# ],
# [
# 4,
# "I migrated all Senna system!",
# 28
# ],
# [
# 5,
# "I also migrated all Tritonn system!",
# 35
# ]
# ]
# ]
# ]
|