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

Remove lifetimes from Database and Collection #23

Merged
merged 1 commit into from
Jul 26, 2020

Conversation

theduke
Copy link
Contributor

@theduke theduke commented Jul 25, 2020

Removes the phantom lifetime field from Database and Collection.

These fields apparently do not add any value, and make working with the
API quite a lot more cumbersome.

@theduke
Copy link
Contributor Author

theduke commented Jul 25, 2020

This should also pretty much fix the problems in #10, since everything is Clone and 'static now.

Removes the phantom lifetime field from Database and Collection.

These fields apparently do not add any value, and make working with the
API quite a lot more cumbersome.
@fMeow fMeow merged commit 222445e into fMeow:master Jul 26, 2020
fMeow added a commit that referenced this pull request Jul 26, 2020
### Features

    * Add QueryBuilder::try_bind (#25) (bbe2941)
    * Remove lifetimes from Database and Collection (#23) (222445e)
    * return CollectionType instead of a reference (b46c832)

### BREAKING CHANGES

    * return CollectionType instead of reference
      for Collection::collection_type()
    * Removes the phantom lifetime field from Database and Collection.
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.

2 participants