Skip to content
Discussion options

You must be logged in to vote

Hey,

thanks for your kind words and very descriptive issue! 🙏

The fresh() method is also in place for database default values - so dropping is not an option.

Would it be feasible to prevent unnecessary database trips by specifying only updated relations when invoking fresh()? The fresh method does support a list of relation names as an optional input.

That's a very good idea/solution! We have a clear attribute/key pattern that identifies attributes to be logged as relation attributes. So it should be possible to match these, collect the relations, unify them and pass them to the fresh() method call.

Would you be willing/available to work on it? As you already have the database query cou…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mac-s-g
Comment options

Answer selected by mac-s-g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants