{{/* Converts data/sql_funcs.yml into table. */}} {{ $parentPath := partial "relative-link.html" . }} {{$releasedVersions := dict}} {{range (where $.Site.RegularPages "Section" "releases")}} {{$releasedVersions = merge $releasedVersions (dict .File.ContentBaseName .) }} {{end}} {{ range $.Site.Data.sql_funcs }} {{ if not (isset $.Params 0) }} ### {{.type}} functions

{{ if .description }} {{ .description | $.Page.RenderString }} {{ end }}

{{end}} {{ if or (eq ($.Get 0) .type) (not (isset $.Params 0)) }} {{ range .functions }} {{/* Extract the function's name from its signature and use it as the ID to facilitate deeplinking. The `docsearch_l3` class is a special class that is scraped by our Algolia DocSearch configuration. */}} {{ end }} {{/* {{ range .functions }} */}}

Function

{{/* We use clojure highlighting simply because it looks best with the components we want to highlight. In the future, this should be customized in some way. */}}
{{ highlight .signature "clojure" "hl_inline=false" }}

{{ .description | $.Page.RenderString }} {{ if .url }} (docs). {{ end }}

{{ if .unmaterializable }}

Note: This function is unmaterializable.

{{ end }} {{ if .unmaterializable_unless_temporal_filter }}

Note: This function is unmaterializable, but can be used in limited contexts in materialized views as a temporal filter.

{{ end }} {{ if .known_time_zone_limitation_cast }}

Known limitation: You must explicitly cast the type for the time zone.

{{ end }} {{ if .side_effecting }}

Note: This function is side-effecting.

{{ end }} {{ $versionAdded := index . "version-added" }} {{ if $versionAdded }} {{ $releasePage := index $releasedVersions $versionAdded }} {{ if not $releasePage.Params.released }}

Unreleased: This function will be released in {{$versionAdded}}. It may not be available in your region yet. The release is scheduled to complete by {{dateFormat "January 2, 2006" $releasePage.Params.date}}.

{{ end }} {{ end }}
{{end}} {{ end }}{{/* {{ range $.Site.Data.sql_funcs }} */}} {{/* When someone is deeplinked to a td on the page, highlight the tr */}}