sqlite - SWIFT use of INTs with SQL -
can pass check i'm doing write thing? know swift have specify type in int using. when create id sql database along lines of
(id integer primary key autoincrement)
the id needs map var int32(). correct?
see sqlite's sqlite3_last_insert_rowid
(or fmdb's lastinsertrowid
), returns value assigned integer primary key last inserted row. function returns sqlite3_int64
.
for reason, treat these integer primary key autoincrement
keys 64-bit integers.
Comments
Post a Comment