We’ve created a module which manages devices. These devices can be manually added by user in Ignition but there is also an automatic device discovery function (using UPnp).
When a device is automatically discovered, we need to check if this device wasn’t previously configured by the user (check the address meta data of each configured device).
I’m looking for Ingnition PersistenceInterface class and I found two interesting methods .
find(RecordMeta meta, java.lang.Object… primaryKeys)
what is or are the primary keys ? How can the be configured ? How can they be specified in this query ?
How can the query be specified ? Is there any documentation or example ?
Thanks for your help