CREATE TABLE Doctors ( doctor_id INT AUTO_INCREMENT PRIMARY KEY, doctor_name VARCHAR(100) NOT NULL, specialization VARCHAR(100), phone VARCHAR(15) ); CREATE TABLE Patients ( patient_id INT ...
I have a mariadb based database that has a few tables and I use subqueries. After migrating to gorm2, I noticed that the generated subquery string is syntactically incorrect and hence it fails. To be ...