Skip to content

SqlFloat

[Source]

Wraps F64. All float column types (REAL, DOUBLE, FLOAT) are read via SQL_C_DOUBLE and surfaced as F64.

class val SqlFloat is
  SqlValue val

Implements


Constructors

create

[Source]

new val create(
  v: F64 val)
: SqlFloat val^

Parameters

Returns


Public fields

var value: F64 val

[Source]


Public Functions

string

[Source]

fun box string()
: String iso^

Returns


c_data_type

[Source]

fun box c_data_type()
: I16 val

Returns


bind_to_odbc

[Source]

fun box bind_to_odbc(
  hstmt: Pointer[None val] tag,
  param_num: U16 val,
  ind_ptr: Pointer[I64 val] tag)
: I16 val

Parameters

Returns


sql_type

[Source]

fun box sql_type()
: I16 val

Returns


len_or_indptr

[Source]

fun box len_or_indptr()
: I64 val

Returns