Skip to content

Conversation

@wahabmk
Copy link

@wahabmk wahabmk commented Apr 15, 2021

Signed-off-by: Wahab Ali [email protected]

Reason for the change
Ease of use for users consuming go-rethink API.

Description
This PR adds a helper function that checks if error returned by RethinkDB is a Primary Key too long error. RethinkDB has a unique limitation on length of PK, so I think having this helper useful for consumers of go-rethink API, especially if they are new to RethinkDB.

Code examples
N/A

Checklist

References
N/A

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

Successfully merging this pull request may close these issues.

1 participant