Insert function on database in sqflite returns id of row inserted. But I want to know what it returns if error occurs after getting an error during insertion. Thanks in adva