class Amazonite::DynamoDB::ParameterizedStatement

Overview

Represents a PartiQL statement that uses parameters.

Included Modules

Defined in:

dynamodb/parameterized_statement.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(statement : String, parameters : Array(AttributeValue) | Nil = nil, return_values_on_condition_check_failure : ReturnValuesOnConditionCheckFailure | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def parameters : Array(AttributeValue) | Nil #

The parameter values.


[View source]
def parameters=(parameters : Array(AttributeValue) | Nil) #

The parameter values.


[View source]
def return_values_on_condition_check_failure : ReturnValuesOnConditionCheckFailure | Nil #

An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement operation that failed a condition check.

There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.


[View source]
def return_values_on_condition_check_failure=(return_values_on_condition_check_failure : ReturnValuesOnConditionCheckFailure | Nil) #

An optional parameter that returns the item attributes for a PartiQL ParameterizedStatement operation that failed a condition check.

There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.


[View source]
def statement : String #

A PartiQL statement that uses parameters.


[View source]
def statement=(statement : String) #

A PartiQL statement that uses parameters.


[View source]
def validate! : Nil #

[View source]