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.1 CQL: Generated Code Hooks

  • cql:cql_dependency_hook(+EntitySet, +Module) can be defined to be notified when a given Module references a list of database entities. This can be used to manage metadata/code dependency
  • cql:cql_generated_sql_hook(+Filename, +LineNumber, +Goals) can be defined to examine generated SQL. Use cql_sql_clause(+Goals, -SQL, -Parameters) to examine the goals
  • cql:cql_index_suggestion_hook(+Index) can be defined if you are interested in proposed indices for your schema. Note that this is not very mature (yet)