Documentation ¶
Index ¶
Constants ¶
View Source
const ( NanosPerMicro = 1000 NanosPerMilli = NanosPerMicro * duration.MicrosPerMilli NanosPerSec = NanosPerMicro * duration.MicrosPerMilli * duration.MillisPerSec )
Variables ¶
View Source
var ErrUnitNotSupported = errors.NewKind("unit \"%s\" not supported for type %s")
Functions ¶
func GetCurrentSchemas ¶ added in v0.11.1
GetCurrentSchemas returns all the schemas in the search_path setting, with elements like "$user" excluded
func GetIntervalDurationFromTimeComponents ¶ added in v0.11.0
Types ¶
This section is empty.
Source Files ¶
- abs.go
- acos.go
- acosd.go
- acosh.go
- age.go
- array_append.go
- array_to_string.go
- ascii.go
- asin.go
- asind.go
- asinh.go
- atan.go
- atan2.go
- atan2d.go
- atand.go
- atanh.go
- bit_length.go
- btrim.go
- cbrt.go
- ceil.go
- char_length.go
- chr.go
- col_description.go
- cos.go
- cosd.go
- cosh.go
- cot.go
- cotd.go
- current_database.go
- current_schema.go
- current_schemas.go
- current_setting.go
- degrees.go
- div.go
- dolt_procedures.go
- exp.go
- extract.go
- factorial.go
- floor.go
- format_type.go
- gcd.go
- init.go
- initcap.go
- lcm.go
- left.go
- length.go
- ln.go
- log.go
- log10.go
- lower.go
- lpad.go
- ltrim.go
- md5.go
- min_scale.go
- mod.go
- nextval.go
- obj_description.go
- octet_length.go
- pg_encoding_to_char.go
- pg_function_is_visible.go
- pg_get_constraintdef.go
- pg_get_expr.go
- pg_get_function_identity_arguments.go
- pg_get_functiondef.go
- pg_get_indexdef.go
- pg_get_partkeydef.go
- pg_get_triggerdef.go
- pg_get_userbyid.go
- pg_get_viewdef.go
- pg_indexes_size.go
- pg_is_in_recovery.go
- pg_postmaster_start_time.go
- pg_relation_size.go
- pg_stat_get_numscans.go
- pg_table_is_visible.go
- pg_table_size.go
- pg_tablespace_location.go
- pg_total_relation_size.go
- pi.go
- power.go
- quote_ident.go
- radians.go
- random.go
- repeat.go
- replace.go
- reverse.go
- right.go
- round.go
- rpad.go
- rtrim.go
- scale.go
- setval.go
- shobj_description.go
- sign.go
- sin.go
- sind.go
- sinh.go
- split_part.go
- sqrt.go
- strpos.go
- substr.go
- tan.go
- tand.go
- tanh.go
- timezone.go
- to_hex.go
- to_regclass.go
- to_regproc.go
- to_regtype.go
- translate.go
- trim_scale.go
- trunc.go
- txid_current.go
- unnest.go
- upper.go
- version.go
- width_bucket.go
Click to show internal directories.
Click to hide internal directories.