Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Module files overview (source tree perspective)
  2. Module files explained
  3. Configuration
  4. Adding support for other DB platforms

 1. Module files overview (source tree perspective)

...

Code Block
languagetext
./src/
    modules/
        newmod/              # (optional) new directory for the module code
            newmod.cpp       # (optional) C/C++ code for this module
            newmod.hpp       # (optional) C/C++ header for this module
            ...
    ports/
        postgres/
            modules/
                newmod/
                    newmod.sql_in    # (REQUIRED) SQL file to create DB objects
                    newmod.py_in     # (optional) Python code (helpful for iterative algorithms)
                    test/            # (optional) directory for SQL test scripts
                        newmod.sql_in    # (optional) test scripts that will be run during install-check
                    ...

 2. Module files explained

...

Code Block
languagetext
- name:    newmod
      depends: ['othermod1', 'othermod2']

...