当前位置:网站首页>(tool use) how to make the system automatically match and associate to database fields by importing MySQL from idea and writing SQL statements
(tool use) how to make the system automatically match and associate to database fields by importing MySQL from idea and writing SQL statements
2022-07-05 07:17:00 【I am the king of X】
Write sql Code is very painful , Especially when updating and inserting , If you have more than a dozen fields , Then you have to write dozens of variables , stay idea There is a function that can automatically complete the fields for you , very nice, Let's learn
First , Create your database and your tables
Import it into your project first in the usual way :
Click... On the sidebar DateBase----->---->Date Source ---->MySQL
Fill in the user name and password and click Test Connector Test the connection , If successful, it will appear succeeded
Next click schemas, Select the database you want , Click on apply that will do
Next click settings, Don't forget the setting of the last step SQL Detail by MySQL, Otherwise it won't work
Then you can use it very comfortably in your project , for instance :
When you do an operation , You can see that the following is your local database
Fields will be automatically completed for you , complete
边栏推荐
- Target detection series - detailed explanation of the principle of fast r-cnn
- PostMessage communication
- Course learning accumulation ppt
- list. files: List the Files in a Directory/Folder
- [software testing] 02 -- software defect management
- PHY drive commissioning - phy controller drive (II)
- Negative number storage and type conversion in programs
- Oracle code use
- Executealways of unity is replacing executeineditmode
- Mid 2022 documentary -- the experience of an ordinary person
猜你喜欢
随机推荐
list. files: List the Files in a Directory/Folder
[software testing] 05 -- principles of software testing
How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
ModuleNotFoundError: No module named ‘picamera‘
[vscode] recommended plug-ins
ROS2——工作空间(五)
C#学习笔记
Unity 之 ExecuteAlways正在取代ExecuteInEditMode
new和malloc的区别
Lexin interview process
npm install -g/--save/--save-dev的区别
Word import literature -mendeley
Binary search (half search)
纯碱是做什么的?
Ros2 - first acquaintance with ros2 (I)
ROS2——常用命令行(四)
Executealways of unity is replacing executeineditmode
Powermanagerservice (I) - initialization
Using GEE plug-in in QGIS
PowerManagerService(一)— 初始化