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

Rename Future to DatabaseFuture #502

Merged
merged 3 commits into from
Mar 15, 2019
Merged

Rename Future to DatabaseFuture #502

merged 3 commits into from
Mar 15, 2019

Conversation

groue
Copy link
Owner

@groue groue commented Mar 14, 2019

This PR renames the Future type to DatabaseFuture.

Futures are returned by the advanced DatabasePool.concurrentRead method. Concurrent reads are a useful optimization technique, but remains a niche use case. GRDB is not a promise/future library.

The name Future can clash with other libraries (as reported by @pakko972). Renaming it to DatabaseFuture avoids this clash.

@groue groue added this to the GRDB 4.0.0 milestone Mar 14, 2019
@groue groue mentioned this pull request Mar 14, 2019
26 tasks
@groue groue merged commit 0074adc into GRDB-4.0 Mar 15, 2019
@groue groue deleted the feature/rename-future branch March 15, 2019 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant