-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
how to create table documents on postgres #407
Comments
i use this create sql, and now i can upsert successful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
env
problem
I encountered an issue while running a plugin on my local Mac. The problem arises when I try to post to an upsert API using FastAPI.
Below is the error that the plugin prints:
This error occurs when the code executes this block:
self.client.commit()
.Here is the SQL query:
When I run this query in pgAdmin, it appears that the
documents
table does not exist.I found a
_create_table
function in other database providers, but I couldn't find a similar function for PostgreSQL.Could someone please help me identify the reason for this issue?
Thank you!
The text was updated successfully, but these errors were encountered: