We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8c7cfc commit cc2ac4cCopy full SHA for cc2ac4c
app/routers/customer.py
@@ -5,9 +5,9 @@
5
from app.db.database_config import database
6
from app.model.customer import Customer
7
8
-SELECT_ALL_CUSTOMERS = "select * from customers"
+SELECT_ALL_CUSTOMERS = "SELECT * FROM CUSTOMERS"
9
INSERT_CUSTOMER = (
10
- "INSERT INTO customers(first_name, last_name) VALUES (:first_name, :last_name)"
+ "INSERT INTO CUSTOMERS(FIRST_NAME, LAST_NAME) VALUES (:first_name, :last_name)"
11
)
12
13
router = APIRouter()
0 commit comments