class Dynamicloud::API::Criteria::JoinType
This enum represents the different Join types
Constants
- INNER
- LEFT
- LEFT_OUTER
- RIGHT
- RIGHT_OUTER
Attributes
type[RW]
Public Class Methods
new(type)
click to toggle source
# File lib/dynamic_criteria.rb, line 26 def initialize(type) @type = type end
Public Instance Methods
to_string()
click to toggle source
This method returns the text according to this Join Type.
@return the text according to this Join Type.
# File lib/dynamic_criteria.rb, line 39 def to_string case (@type) when LEFT.type return 'left' when RIGHT.type return 'right' when INNER.type return 'inner' when LEFT_OUTER.type return 'left outer' when RIGHT_OUTER.type return 'right outer' else return 'inner' end end