Lesson 10: Using inference

Function as views

  • Functions are can be treated like SQL views - they abstract away queries into a different format

  • Functions can be used to abstract away query complexity and piece together modular logic into new behaviours

Function chaining

  • Functions can invoke other functions

  • Functions can invoke themselves recursively