Adding API Aliases to SQL Fields

Tutorial··2 min 47 sec

How to expose a SQL column under a different name in the API, so awkward or legacy column names do not leak into your public contract. A short, focused tutorial.

Recorded in 2016. The concepts still apply, but the interface shown predates the current DreamFactory release. Some steps may differ in the current release.

What you’ll learn

  • Renaming a SQL column at the API layer
  • Keeping legacy column names out of a public contract
  • Where aliases are configured per field