eloquent-viewable
eloquent-viewable copied to clipboard
feat: add recordMany function
What would be a use case for this?
@cyrildewit One use case is when migrating from a different solution to yours, for example from a integer column views count to the eloquent-viewable package. We need to seed the views count we already have and using views($viewable)->record()
does an insert per view so it's extremely slow, where as recordMany insert multiple rows with a single insert query.