napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Untyped.Ops.BigQuery.Struct

Synopsis

Documentation

iStruct_ :: [SExp] -> SExp #

iStruct_ literal struct without names/types

namedFields_ :: [(Maybe Text, SExp)] -> SExp #

namedFields_ is similar to iStruct_ but index generated names could be overridden

struct_ :: [(Maybe Text, Type, SExp)] -> SExp #

struct with explicit types for each field

(->.) :: SExp -> Text -> SExp infixl 9 #

operator for accessing a struct field. Postgres requires explicit dot disambiguation when accessing a row field.