Module func

Source

Re-exports§

pub use impls::*;

Modules§

binary 🔒
Utilities for binary functions.
encoding 🔒
Encoding and decoding support for various formats that represent binary data as text data.
format 🔒
Data type formatting functions.
impls 🔒
macros 🔒

Macros§

range_fn 🔒

Structs§

AddDateInterval
AddDateTime
AddFloat32
AddFloat64
AddInt16
AddInt32
AddInt64
AddInterval
AddNumeric
AddTimeInterval
AddUint16
AddUint32
AddUint64
AgeTimestamp
AgeTimestamptz
ArrayLength
BitAndInt16
BitAndInt32
BitAndInt64
BitAndUint16
BitAndUint32
BitAndUint64
BitOrInt16
BitOrInt32
BitOrInt64
BitOrUint16
BitOrUint32
BitOrUint64
BitShiftLeftInt16
BitShiftLeftInt32
BitShiftLeftInt64
BitShiftLeftUint16
BitShiftLeftUint32
BitShiftLeftUint64
BitShiftRightInt16
BitShiftRightInt32
BitShiftRightInt64
BitShiftRightUint16
BitShiftRightUint32
BitShiftRightUint64
BitXorInt16
BitXorInt32
BitXorInt64
BitXorUint16
BitXorUint32
BitXorUint64
ConvertFrom
DivFloat32
DivFloat64
DivInt16
DivInt32
DivInt64
DivInterval
DivNumeric
DivUint16
DivUint32
DivUint64
Encode
EncodedBytesCharLength
ModFloat32
ModFloat64
ModInt16
ModInt32
ModInt64
ModNumeric
ModUint16
ModUint32
ModUint64
MulFloat32
MulFloat64
MulInt16
MulInt32
MulInt64
MulInterval
MulNumeric
MulUint16
MulUint32
MulUint64
RoundNumericBinary
SubDate
SubDateInterval
SubFloat32
SubFloat64
SubInt16
SubInt32
SubInt64
SubInterval
SubNumeric
SubTime
SubTimeInterval
SubTimestamp
SubTimestamptz
SubUint16
SubUint32
SubUint64

Enums§

BinaryFunc
UnaryFunc
UnmaterializableFunc
VariadicFunc

Constants§

MAX_STRING_BYTES 🔒
The maximum size of a newly allocated string. Chosen to be the smallest number to keep our tests passing without changing. 100MiB is probably higher than what we want, but it’s better than no limit.

Traits§

EagerUnaryFunc 🔒
A description of an SQL unary function that operates on eagerly evaluated expressions
LazyUnaryFunc 🔒
A description of an SQL unary function that has the ability to lazy evaluate its arguments

Functions§

add_date_interval 🔒
add_date_time 🔒
add_float32 🔒
add_float64 🔒
add_int16 🔒
add_int32 🔒
add_int64 🔒
add_interval 🔒
add_numeric 🔒
add_time_interval 🔒
add_timestamp_months
add_timestamplike_interval 🔒
add_uint16 🔒
add_uint32 🔒
add_uint64 🔒
age_timestamp 🔒
age_timestamptz 🔒
and
array_array_concat 🔒
array_contains 🔒
array_contains_array 🔒
array_create_multidim 🔒
Constructs a new multidimensional array out of an arbitrary number of lower-dimensional arrays.
array_create_scalar 🔒
Constructs a new zero or one dimensional array out of an arbitrary number of scalars.
array_fill 🔒
array_index 🔒
array_length 🔒
array_lower 🔒
array_position 🔒
array_remove 🔒
array_to_string 🔒
array_upper 🔒
bit_and_int16 🔒
bit_and_int32 🔒
bit_and_int64 🔒
bit_and_uint16 🔒
bit_and_uint32 🔒
bit_and_uint64 🔒
bit_or_int16 🔒
bit_or_int32 🔒
bit_or_int64 🔒
bit_or_uint16 🔒
bit_or_uint32 🔒
bit_or_uint64 🔒
bit_shift_left_int16 🔒
bit_shift_left_int32 🔒
bit_shift_left_int64 🔒
bit_shift_left_uint16 🔒
bit_shift_left_uint32 🔒
bit_shift_left_uint64 🔒
bit_shift_right_int16 🔒
bit_shift_right_int32 🔒
bit_shift_right_int64 🔒
bit_shift_right_uint16 🔒
bit_shift_right_uint32 🔒
bit_shift_right_uint64 🔒
bit_xor_int16 🔒
bit_xor_int32 🔒
bit_xor_int64 🔒
bit_xor_uint16 🔒
bit_xor_uint32 🔒
bit_xor_uint64 🔒
build_regex
coalesce 🔒
constant_time_eq_bytes
constant_time_eq_string
contains_range_elem 🔒
convert_from 🔒
create_range 🔒
date_bin
date_diff_date 🔒
date_diff_time 🔒
date_diff_timestamp 🔒
date_diff_timestamptz 🔒
date_part_interval 🔒
date_part_time 🔒
date_part_timestamp 🔒
date_trunc 🔒
date_trunc_interval 🔒
decode 🔒
digest_bytes 🔒
digest_inner 🔒
digest_string 🔒
div_float32 🔒
div_float64 🔒
div_int16 🔒
div_int32 🔒
div_int64 🔒
div_interval 🔒
div_numeric 🔒
div_uint16 🔒
div_uint32 🔒
div_uint64 🔒
element_list_concat 🔒
encode 🔒
encoded_bytes_char_length 🔒
eq 🔒
error_if_null 🔒
extract_date 🔒
get_bit 🔒
get_byte 🔒
greatest 🔒
gt 🔒
gte 🔒
hmac_bytes
hmac_inner
hmac_string
is_like_match_dynamic 🔒
is_regexp_match_dynamic 🔒
jsonb_build_array 🔒
jsonb_build_object 🔒
jsonb_concat 🔒
jsonb_contains_jsonb 🔒
jsonb_contains_string 🔒
jsonb_delete_int64 🔒
jsonb_delete_string 🔒
jsonb_get_int64 🔒
jsonb_get_path 🔒
jsonb_get_string 🔒
jsonb_stringify
least 🔒
left 🔒
like_escape 🔒
list_contains_list 🔒
list_create 🔒
list_element_concat 🔒
list_index 🔒
list_length_max 🔒
list_list_concat 🔒
list_remove 🔒
list_slice_linear 🔒
log_base_numeric 🔒
log_guard_numeric 🔒
lt 🔒
lte 🔒
make_acl_item 🔒
make_mz_acl_item 🔒
make_timestamp 🔒
map_build 🔒
map_contains_all_keys 🔒
map_contains_any_keys 🔒
map_contains_key 🔒
map_contains_map 🔒
map_get_value 🔒
mod_float32 🔒
mod_float64 🔒
mod_int16 🔒
mod_int32 🔒
mod_int64 🔒
mod_numeric 🔒
mod_uint16 🔒
mod_uint32 🔒
mod_uint64 🔒
mul_float32 🔒
mul_float64 🔒
mul_int16 🔒
mul_int32 🔒
mul_int64 🔒
mul_interval 🔒
mul_numeric 🔒
mul_uint16 🔒
mul_uint32 🔒
mul_uint64 🔒
mz_acl_item_contains_privilege 🔒
Determines if an mz_aclitem contains one of the specified privileges. This will return true if any of the listed privileges are contained in the mz_aclitem.
mz_render_typmod 🔒
neg_interval
neg_interval_inner 🔒
not_eq 🔒
or
pad_leading 🔒
parse_ident 🔒
parse_timezone 🔒
Parses a named timezone like EST or America/New_York, or a fixed-offset timezone like -05:00.
position 🔒
power 🔒
power_numeric 🔒
pretty_sql 🔒
range_adjacent 🔒
range_after 🔒
range_before 🔒
range_contains_range 🔒
range_difference 🔒
range_intersection 🔒
range_overlaps 🔒
range_overleft 🔒
range_overright 🔒
range_union 🔒
regexp_match_dynamic 🔒
regexp_match_static 🔒
regexp_replace_dynamic 🔒
regexp_replace_parse_flags 🔒
Sets limit based on the presence of ‘g’ in flags for use in Regex::replacen, and removes ‘g’ from flags if present.
regexp_replace_static 🔒
regexp_split_to_array 🔒
regexp_split_to_array_re 🔒
repeat_string 🔒
replace 🔒
right 🔒
round_numeric_binary 🔒
split_part 🔒
starts_with 🔒
string_to_array 🔒
string_to_array_impl 🔒
stringify_datum 🔒
sub_date 🔒
sub_date_interval 🔒
sub_float32 🔒
sub_float64 🔒
sub_int16 🔒
sub_int32 🔒
sub_int64 🔒
sub_interval 🔒
sub_numeric 🔒
sub_time 🔒
sub_time_interval 🔒
sub_timestamp 🔒
sub_timestamplike_interval 🔒
sub_timestamptz 🔒
sub_uint16 🔒
sub_uint32 🔒
sub_uint64 🔒
substr 🔒
text_concat_binary 🔒
text_concat_variadic 🔒
text_concat_ws 🔒
timezone_interval_time 🔒
Converts the time datum b, which is assumed to be in UTC, to the timezone that the interval datum a is assumed to represent. The interval is not allowed to hold months, but there are no limits on the amount of seconds. The interval acts like a chrono::FixedOffset, without the -86,400 < x < 86,400 limitation.
timezone_interval_timestamp 🔒
Converts the timestamp datum b, which is assumed to be in the time of the timezone datum a to a timestamptz in UTC. The interval is not allowed to hold months, but there are no limits on the amount of seconds. The interval acts like a chrono::FixedOffset, without the -86,400 < x < 86,400 limitation.
timezone_interval_timestamptz 🔒
Converts the UTC timestamptz datum b, to the local timestamp of the timezone datum a. The interval is not allowed to hold months, but there are no limits on the amount of seconds. The interval acts like a chrono::FixedOffset, without the -86,400 < x < 86,400 limitation.
timezone_offset 🔒
to_char_timestamplike 🔒
translate 🔒
trim 🔒
trim_leading 🔒
trim_trailing 🔒
uuid_generate_v5 🔒