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

Missing Examples for other CRUD operations #2

Open
ASoldo opened this issue Sep 12, 2023 · 4 comments
Open

Missing Examples for other CRUD operations #2

ASoldo opened this issue Sep 12, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ASoldo
Copy link

ASoldo commented Sep 12, 2023

Can you put some examples in README.md how to work with database like Inserts, Updates and other crud operations (just as a mock to show correct usage of api).

So far I've managed to make it run by following the test file and putting that in my main.go.

Thank you!

@ASoldo ASoldo added the documentation Improvements or additions to documentation label Sep 12, 2023
@tranhoangvuit tranhoangvuit self-assigned this Oct 7, 2023
@2lineofcode
Copy link

up

@tranhoangvuit
Copy link
Contributor

Thank @ASoldo , @2lineofcode , I will update examples soon.

@Thinker-08
Copy link

Same here looking for examples of CRUD operations

@princefishthrower
Copy link

princefishthrower commented Jun 5, 2024

Would also be interested. For example, why does Limit() require two parameters?

UPDATE: did some digging here, turns out all the table CRUD methods are from another repo, postgrest-go, you can snoop around in the tests for more advanced queries, i.e. like my Limit() question: https://github.com/supabase-community/postgrest-go/blob/main/filterbuilder_test.go

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

No branches or pull requests

5 participants