Reputation: 32271
Is it possible to somehow see the full sql log from core data operations, with the actual values being inserted, etc. This:
-com.apple.CoreData.SQLDebug 1
shows only placeholders, like this:
CoreData: sql: INSERT INTO ZFOO(Z_PK, Z_ENT, Z_OPT, ZACTIVE, ZISENROLLED, ZNAME, ZPACKAGETYPE, ZPRODUCTID) VALUES(?, ?, ?, ?, ?, ?, ?, ?)
Maybe I can do this at database level - force somehow sql to keep a log?
Upvotes: 0
Views: 49
Reputation: 21536
You can specify different values for the SQLDebug flag, to get more detail. I think SQLDebug 3 will provide the values:
-com.apple.CoreData.SQLDebug 3
Upvotes: 1