module DB::MetadataValueConverter
Overview
NOTE should be removed after migration to the latest crystal-db :nodoc:
Defined in:
lib/db/src/db/statement.crjennifer/adapter/shared/db.cr
Class Method Summary
-
.arg_to_log(arg : Enumerable) : ::Log::Metadata::Value
Returns arg encoded as a
::Log::Metadata::Value
. -
.arg_to_log(arg : UInt64) : ::Log::Metadata::Value
Returns arg encoded as a
::Log::Metadata::Value
. -
.arg_to_log(arg : Int) : ::Log::Metadata::Value
Returns arg encoded as a
::Log::Metadata::Value
. -
.arg_to_log(arg : Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Time) : ::Log::Metadata::Value
Returns arg encoded as a
::Log::Metadata::Value
. -
.arg_to_log(arg) : ::Log::Metadata::Value
Returns arg encoded as a
::Log::Metadata::Value
.
Class Method Detail
def self.arg_to_log(arg : Enumerable) : ::Log::Metadata::Value
#
Returns arg encoded as a ::Log::Metadata::Value
.
def self.arg_to_log(arg : UInt64) : ::Log::Metadata::Value
#
Returns arg encoded as a ::Log::Metadata::Value
.
def self.arg_to_log(arg : Int) : ::Log::Metadata::Value
#
Returns arg encoded as a ::Log::Metadata::Value
.
def self.arg_to_log(arg : Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Time) : ::Log::Metadata::Value
#
Returns arg encoded as a ::Log::Metadata::Value
.
def self.arg_to_log(arg) : ::Log::Metadata::Value
#
Returns arg encoded as a ::Log::Metadata::Value
.