◐ Shell
clean mode source ↗

syntax fix to fit sqlalchemy v2 by harryghgim · Pull Request #98 · cosmicpython/code

Two syntax changes were made to fit sqlalchemy version 2.

  1. text function is used on sql
  2. map_imperatively is called in mapping model to database.

There is another PR PR which addesses code changes to master branch, but this PR focuses on chapter 2 branch only.