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...
as described in the question, how to implement in each language has been reported to the Shoushou Party! It is said that the hand-holding party or the problem is too stupid, but it does not explain the specific reason? ...
curl -sL https: deb.nodesource.com setup_6.x | sudo -E bash - What does the command mean? what does the L in the parameter, setup_6.x in url, |, sudo-E bash-all mean. ...
or can only change the chart.js code-sharp-sharp-sharp problem description ...
Ruan Yifeng s introduction to ES6-async function there are two paragraphs: function dbFuc(db) { async let docs = [{}, {}, {}]; docs.forEach(async function (doc) { await db.post(doc); }); } db.postfor async function dbFuc(db...
in the single file, I want to change the span style under el-button, but I can t change it. What s wrong with it? In the button is the code with the span tag: : of course . El-button { color:red; } is working . ...