1.8 CQL: Hooks
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • Constraint Query Language A high level interface to SQL databases
        • library(cql/cql): CQL - Constraint Query Language
          • CQL: Hooks
            • CQL: Generated Code Hooks
            • CQL: Data Representation Hooks
            • CQL: Application Integration
            • CQL: Inline values
            • CQL: Schema
            • CQL: Event Processing and History
            • CQL: Statistical Hooks

1.8.2 CQL: Data Representation Hooks

  • cql:cql_atomic_value_check_hook(+Value) can be defined to declare new’atomic' types (That is, types which can be written directly to the database), such as a representation like boolean(true) for 1.
  • cql:cql_check_value_hook(+Value) can be used to check that a value is legal
  • cql:application_value_to_odbc_value_hook(+OdbcDataType, +Schema, +TableName, +ColumnName, +Qualifiers, +ApplicationValue, -OdbcValue).
  • cql:odbc_value_to_application_value_hook(+OdbcDataType, +Schema, +TableName, +ColumnName, +Domain, +OdbcValue, -ApplicationValue).