Enumeration of DEFQUERY bind types

>Enumerated constants for binding DEFQUERY parameters

Enumerated constants for binding DEFQUERY parameters

These constants define the optional data types to be used when binding DEFQUERY parameters with the BindParam() method.

The constant _KDB_QUERY_BIND_DEFAULT has no effect and BindParam() acts as if it had only two arguments. It will treat a second argument that is a string as type _KDB_QUERY_BIND_STR and a numeric argument as _KDB_QUERY_BIND_INT.

DEF ENUM enumeration name KDB_QUERY_BIND_ENUM

Enumeration ValueValueDescription
_KDB_QUERY_BIND_DEFAULT0Bind a parameter using default type
_KDB_QUERY_BIND_STR1Bind a string
_KDB_QUERY_BIND_INT2Bind an integer
_KDB_QUERY_BIND_TIMESTAMP4Bind a TIMESTAMP as an ISO date string

Back to the list of Enumerations and Constants