I'm not sure if I'm following. Apple is capable of creating a lookup table, or an atomic database read query.