当前位置:网站首页>(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
边栏推荐
- Ros2 - ros2 vs. ros1 (II)
- [node] NVM version management tool
- 纯碱是做什么的?
- How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
- iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
- M2DGR 多源多场景 地面机器人SLAM数据集
- Ros2 - function package (VI)
- SOC_SD_DATA_FSM
- NPM and package common commands
- Ros2 topic (VIII)
猜你喜欢
随机推荐
[software testing] 03 -- overview of software testing
ROS2——ROS2对比ROS1(二)
网易To B,柔外刚中
ORACLE CREATE SEQUENCE,ALTER SEQUENCE,DROP SEQUENCE
IPage能正常显示数据,但是total一直等于0
Now there are HTML files and MVC made with vs (connected to the database). How can they be connected?
ROS2——功能包(六)
一文揭开,测试外包公司的真实情况
睿智的目标检测59——Pytorch Focal loss详解与在YoloV4当中的实现
What does soda ash do?
PowerManagerService(一)— 初始化
数学分析_笔记_第8章:重积分
Ggplot2 drawing learning notes in R
R language learning notes 1
【obs】x264编码:“buffer_size“
【idea】Could not autowire. No beans of xxx type found
【Node】npm、yarn、pnpm 区别
氢氧化钠是什么?
IPage can display data normally, but total is always equal to 0
【软件测试】04 -- 软件测试与软件开发









