Documentation ¶
Overview ¶
Package jointype enumerates the various SQL JOIN types.
Index ¶
Constants ¶
View Source
const ( Inner Type = "inner_join" JoinAlias string = "join" Left Type = "left_join" LeftAlias string = "ljoin" LeftOuter Type = "left_outer_join" LeftOuterAlias string = "lojoin" Right Type = "right_join" RightAlias string = "rjoin" RightOuter Type = "right_outer_join" RightOuterAlias string = "rojoin" FullOuter Type = "full_outer_join" FullOuterAlias string = "fojoin" Cross Type = "cross_join" CrossAlias string = "xjoin" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Type ¶
type Type string
Type indicates the type of join, e.g. "INNER JOIN" or "RIGHT OUTER JOIN", etc.
func (Type) HasPredicate ¶
HasPredicate returns true if the join type accepts a join predicate. Only jointype.Cross returns false.
func (*Type) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
Click to show internal directories.
Click to hide internal directories.