kevinrawal / online-bookstore-api

This project aims to develop an API for an online bookstore using FastAPI, SQLAlchemy, and PostgreSQL. The API will facilitate user authentication, book management, cart operations, and order placement.
0 stars 0 forks source link

PostgreSQL--ISSUE🔴 #5

Closed kevinrawal closed 6 months ago

kevinrawal commented 6 months ago

if the key already exist and i am trying to create new row with the same prime key it gives me warning "Key already exist", now when I create another dataset with another key it increment the count.

like this image

kevinrawal commented 6 months ago

i am using AUTO_INCREMENT, it is the feature that no matter what the index always increase it can not be roll back, so It is normal for this.

for more understanding : Stackoverflow link