Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandman Error for composite primary keys #256

Open
moedawood opened this issue Jan 31, 2022 · 0 comments
Open

Sandman Error for composite primary keys #256

moedawood opened this issue Jan 31, 2022 · 0 comments

Comments

@moedawood
Copy link

Hi Guys

I seem to get the following error when calling sandman

sqlalchemy.exc.InvalidRequestError: Incorrect number of values in identifier to formulate primary key for query.get(); primary key columns are 'abpi_orders.order_id','abpi_orders.customer_id','abpi_orders.order_status_id'

My table seems to have composite primary keys ? Are these supported by sandman ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant