sayguh
sayguh

Reputation: 2550

What is Z_ENT column in SQLite database that gets created by Core Data?

When you use Core Data with SQLite database as underlying data store, core data will autogenerate some columns...

One of them is "Z_ENT" and another is "Z_OPT"

I believe "Z_OPT" is for how many times the record has been altered. Can anyone tell me what Z_ENT is for?

Thanks!

Upvotes: 26

Views: 6567

Answers (1)

Wevah
Wevah

Reputation: 28242

"Z_PK is the unique id for each, Z_ENT is their entity id (same as what’s listed in the Z_PRIMARYKEY table"

From here

Upvotes: 37

Related Questions