当前位置:网站首页>(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
边栏推荐
猜你喜欢
[idea] efficient plug-in save actions to improve your work efficiency
DataGrid offline installation of database driver
An article was opened to test the real situation of outsourcing companies
ROS2——topic话题(八)
M2DGR 多源多场景 地面机器人SLAM数据集
IPage can display data normally, but total is always equal to 0
一文揭开,测试外包公司的真实情况
三体目标管理笔记
SD_CMD_SEND_SHIFT_REGISTER
PHY drive commissioning - phy controller drive (II)
随机推荐
Xiaomi written test real question 1
C#学习笔记
【软件测试】06 -- 软件测试的基本流程
[vscode] recommended plug-ins
Interpretation of the earliest sketches - image translation work sketchygan
PHY drive commissioning --- mdio/mdc interface Clause 22 and 45 (I)
乐鑫面试流程
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
IPage can display data normally, but total is always equal to 0
Netease to B, soft outside, hard in
What does soda ash do?
Ros2 - Service Service (IX)
Delayqueue usage and scenarios of delay queue
Brief description of inux camera (Mipi interface)
An article was opened to test the real situation of outsourcing companies
Ros2 - node (VII)
第 2 章:小试牛刀,实现一个简单的Bean容器
Reading literature sorting 20220104
M2dgr slam data set of multi-source and multi scene ground robot
Intelligent target detection 59 -- detailed explanation of pytoch focal loss and its implementation in yolov4