You can download the code for this example here:
OnyxDevTools/onyx-database-examples/querying/UpdateQueryExample.
This tutorial demonstrates how easy it is to bulk update entities that meet a given criteria. To demonstrate this we will update all quarterbacks that passed for less than 1500 yards and set them to active = false.
First, lets retrieve all of the data that meets our criteria. This isnt required for the update to work, but is just to demonstrate the initial state of the com.onyxdevtools.entities.
This will execute the AttributeUpdate action on all of the results that match your criteria
Our goal is to bring about change by enabling people to use simple and quality software in order to make sad engineers happy.
Copyright ©2017 Onyx Development Tools, LLC. All rights reserved.