Answer the question
In order to leave comments, you need to log in
How to check if a column in sqlite3 is autoincrement?
I make a request
PRAGMA table_info(table_name)
I receive
[0]=>
int(0)
["cid"]=>
int(0)
[1]=>
string(2) "id"
["name"]=>
string(2) "id"
[2]=>
string(7) "INTEGER"
["type"]=>
string(7) "INTEGER"
[3]=>
int(0)
["notnull"]=>
int(0)
[4]=>
NULL
["dflt_value"]=>
NULL
[5]=>
int(0)
["pk"]=>
int(0)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question