two tables, one is category, and the other is product, defined as follows: type Product struct { ProductId uint32 `gorm:"primary_key;type:int(11) unsigned auto_increment;"` Category Category `gorm:"ForeignKey:CateIDRef;"` ...
it is said that Internet developers try to not to use foreign keys , so what does the here mean by not using foreign keys ? 1. The meaning here is clear: No foreign key constraints . For example, when deleting data in one table, if you want to casc...
{oldUserKey: "admin@agriocom.com ", user: {,. } oldUserKey: "admin@agriocom.com " user: {,. } permissions: [{objType: "SERVER ", objId: "0 ", right: "A "}, {objType: "STATION ", objId: "0 ", right: "A "}, ] 0: {objType: "SERVER ", objId: "...
problem description iphonehistory.go(-1)iphoneandroid? the environmental background of the problems and what methods you have tried iphone7 related codes Please paste the code text below (do not replace the code with pictures) &...
for example, 123456, 456789, 876543 ...
as in the routing configuration above, there is no server, and it starts locally. In the case of mode: hash , the routed access will enter the corresponding component. In the case of mode: history , however, no matter which route is accessed, it ...
The function is defined as sub Modify_Debug {$Debug=shift;} . Is there any syntax sugar? ...