-
Notifications
You must be signed in to change notification settings - Fork 600
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
4.1.0 #1416
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…reation but before view creation
…reation but before view creation
Properly use the getName() method that subclasses have the implement. No need to keep a 'name' member around for this purpose. Re-enable previously broken test.
… if they reference a QueryModel. Will work on making that not a requirement at a later time.
…bjects. Dont need annotation on class if don't want.
…namic is possible.
…b with destroying the file. Allow applying new DB config to manager.
…rated code for DBFlow.
Fix broken IndexMigration
…creation Fixed bug where migration would fail due to a new view referencing a migrated column
…nd extension. also database definition.reset(context). move processor away from autoservice and just define service file.
…tlin stdlib calls.
…error if field does not exist in class.
…getter must exist. add oneTomany delegate to make super concise one to many.
…d databases. add kaptAndroidTest to project.
…o check if model has id specified. If not specified, assigns it an id, otherwise uses the id in the insert.
…s. add readme on @ColumnMap
…lled. Not confused with count() operator. Simplify base transformable overrides.
fix to #1401: withTable now works for TypeConvertedProperty
… to ensure it stays off.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@ModelView
are now created after migrations are run so latest DB data is respected.@ColumnMap
! It enables embedding other object's exposed properties into the current table as@Column
so that object hierarchy is respected without excessive DB complication.creates a table with the following columns:
DatabaseConfig.databaseName()
whenFlowManager
is initialized. This means that DBFlow supports dynamic database names and instances.To dynamically swap database out, replace the
FlowConfig
:Note that this will overwrite all existing database properties for a database. Any
TableConfig
properties missing will get ignored. Also it will delete existing db and reopen with new instance specified.javax.annotation.Generated
if it's on the classpath._
in a future breaking release.@OneToMany
now auto-detect visibility of the reference field soisVariablePrivate()
is deprecated.@ForeignKeyReference(notNull = @NotNull())
annotation for individual references. Required to specify allreferences
on a@ForeignKey
if you need to specify for one.count()
(deprecated) tolongValue()
so its more clear exactly what is happening.TypeConverters
to carry into anas()
alias of aProperty
.TransactionWrapper
which allows grouping ofITransaction
into one to get executed at same point in db time.api
/implementation
of 3.0.0+ gradle plugin.2.1.3
dbflow-kotlin-extensions
to accept nullable values for objects where it makes sense. See commitcreateWithDatabase()
. Useful for preserving scrapped table in previous migrations.@OneToMany
code implementation:to: