We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Create New Endpoint Get: ListAssetByCreator Checkpoints:
store.ListAssetByCreator
The text was updated successfully, but these errors were encountered:
var pageSize int32 = 5 var pageNumber int32 = 1 args := ListAssetByCreatorParams{ CreatorID: generatedAsset.CreatorID, Limit: 5, Offset: (pageNumber - 1) * pageSize, } assetLists, err := testQueries.ListAssetByCreator(r.Context(), args)
this is how pagination is to be done
cdn/db/sqlc/cdn_test.go
Line 109 in ef9b65a
Sorry, something went wrong.
No branches or pull requests
Summary
Create New Endpoint Get: ListAssetByCreator
Checkpoints:
store.ListAssetByCreator
(maybe you would have to change the query ping me in the server if we do)The text was updated successfully, but these errors were encountered: