class Clear::Expression::Node::JSONB::Field

Included Modules

Defined in:

clear/extensions/jsonb/expression.cr

Constructors

Instance Method Summary

Instance methods inherited from module Clear::SQL::JSONB

jsonb_all_exists?(field, keys : Array(String)) jsonb_all_exists?, jsonb_any_exists?(field, keys : Array(String)) jsonb_any_exists?, jsonb_eq(field, key, value) jsonb_eq, jsonb_exists?(field, value) jsonb_exists?, jsonb_k2h(key : String, value : JSONBKey) : JSONBHash jsonb_k2h, jsonb_resolve(field, arr : Array(String), cast = nil) : String
jsonb_resolve(field, key : String, cast = nil)
jsonb_resolve

Instance methods inherited from class Clear::Expression::Node

!=(any : Node) : Node
!=(some_nil : Nil) : Node
!=(any : T) : Node forall T
!=
, !~(any : Node) : Node
!~(regexp : Regex) : Node
!~
, &(any : Node) : Node
&(any : T) : Node forall T
&
, *(any : Node) : Node
*(any : T) : Node forall T
*
, +(any : Node) : Node
+(any : T) : Node forall T
+
, -(any : Node) : Node
-(any : T) : Node forall T
-
-
, /(any : Node) : Node
/(any : T) : Node forall T
/
, <(any : Node) : Node
<(any : T) : Node forall T
<
, <=(any : Node) : Node
<=(any : T) : Node forall T
<=
, ==(any : Node) : Node
==(some_nil : Nil) : Node
==(any : T) : Node forall T
==
, =~(any : Node) : Node
=~(regexp : Regex) : Node
=~
, >(any : Node) : Node
>(any : T) : Node forall T
>
, >=(any : Node) : Node
>=(any : T) : Node forall T
>=
, |(any : Node) : Node
|(any : T) : Node forall T
|
, ~ ~, between(a, b) between, ilike(any : Node) : Node
ilike(any : T) : Node forall T
ilike
, in?(range : Range(B, E)) forall B, E
in?(arr : Array(T)) forall T
in?(tuple : Tuple(*T)) forall T
in?(request : Clear::SQL::SelectBuilder)
in?
, like(any : Node) : Node
like(any : T) : Node forall T
like
, resolve : String resolve

Instance methods inherited from module Clear::Expression::JSONB::Node

jsonb(key : String) jsonb, jsonb_all_keys_exists?(keys : Array(T)) forall T jsonb_all_keys_exists?, jsonb_any_key_exists?(keys : Array(T)) forall T jsonb_any_key_exists?, jsonb_key_exists?(key : String) jsonb_key_exists?

Constructor Detail

def self.new(field : Clear::Expression::Node, key : String, cast : Nil | String = nil) #

[View source]

Instance Method Detail

def ==(value : Clear::Expression::Node) #

[View source]
def ==(value : _) #

[View source]
def cast(cast : Nil | String) #

[View source]
def cast : String | Nil #

[View source]
def contains?(expression : Clear::Expression::Node) #

[View source]
def contains?(expression) #

[View source]
def field : Node #

[View source]
def key : String #

[View source]
def resolve : String #

[View source]