abstract class Marten::DB::Query::SQL::Transformation::DateTimePart

Overview

Base for calendar date/time part extractions (year, month, day, …) whose filter RHS is an integer.

Direct Known Subclasses

Defined in:

marten/db/query/sql/transformation/date_time_part.cr

Instance Method Summary

Instance methods inherited from class Marten::DB::Query::SQL::Transformation::Base

allows? : Bool allows?, apply(connection : Connection::Base, column_reference : String) : String apply, bind_parameter_value(value : Field::Any) : ::DB::Any bind_parameter_value, field : Field::Base field

Constructor methods inherited from class Marten::DB::Query::SQL::Transformation::Base

new(field : Field::Base) new

Class methods inherited from class Marten::DB::Query::SQL::Transformation::Base

transformation_name(name : String | Nil)
transformation_name : String
transformation_name

Instance Method Detail

def bind_parameter_value(value : Field::Any) : ::DB::Any #

[View source]