ryanfowler / SwiftData

Simple and Effective SQLite Handling in Swift
MIT License
518 stars 93 forks source link

Consider removing implicitly created ID column when creating new table #19

Open Lopdo opened 9 years ago

Lopdo commented 9 years ago

I checked the code and I did not find the place where this column is used internally (I might have missed something though). Is there any reason why you are creating it? I find that I don't use it in about half of my tables. While the memory and CPU savings wouldn't be very big if it wasn't used where not needed, but still, I would prefer cleaner tables :)