lesson 1 Flashcards

1
Q

what is an orm?

A
  • It transforms the python code into sql statements.

- Use sql alchemy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Process of creating a database?

A

1) Configuration
2) Class and table
3) Mapper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In the database class

A
  • representation of table as python class
  • extends the Base class
  • nested inside will be table and mapper
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In the database mapper

A
  • maps the objects in python to columns in the database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly