Utilities Module
Functions and values
| Function or value | Description |
Full Usage:
fieldConstant value
Parameters:
obj
Returns: string
|
Renders an inline SQL *value literal* (used where a provider - chiefly ODBC - can't bind a parameter). String/Guid/DateTime literals are ALWAYS single-quoted (the delimiter is fixed here, it is NOT OdbcQuoteCharacter - that setting only controls *identifier* quoting: ` ` / [ ] / " " / 'x'). Because the delimiter is a single quote, the escape must be the matching single quote doubled ('') - and ONLY the single quote is doubled; every other character (including ") passes through verbatim. So `O'Brien` -> 'O''Brien' and `say "hi"` -> 'say "hi"'. The '' escape is SQL-standard and universal across backends. (If the literal delimiter were ever made configurable, the escaped char would have to track it.)
|
Full Usage:
genericAliasNotation aliasSprint _arg1
Parameters:
string -> 'a
_arg1 : SqlColumnType
Returns: 'a
|
|
Full Usage:
genericFieldNotation recursionBase colSprint _arg1
Parameters:
SqlColumnType -> string
colSprint : string -> string
_arg1 : SqlColumnType
Returns: string
|
|
|
|
|
|
Full Usage:
parseAggregates fieldNotat fieldNotationAlias query
Parameters:
'a -> SqlColumnType -> string
fieldNotationAlias : 'a * SqlColumnType -> string
query : ('a * SqlColumnType) list
Returns: string list
|
|
|
|
Full Usage:
uniqueName ()
Parameters:
unit
Returns: string -> string
|
|