![]() ![]() When the same is tried through the sqlite browser, it gives the error. The above code tries to create a Node record with invalid Environment Id in sqlite3 and postgres database. SQLite3 doesnt seem to honor foreign key constraint when provided with non existing foreign primary key id through gorm. ![]() SQLITE3 should raise foreign key violation error just as postgresql. Println( " \n \nTesting with SQLite3 !!")ĬreateNode(
0 Comments
Leave a Reply. |