当前位置:网站首页>(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
边栏推荐
- Chapter 2: try to implement a simple bean container
- 小米笔试真题一
- NPM and package common commands
- The problem of configuring opencv in qt5.13.2 is solved in detail
- Netease to B, soft outside, hard in
- SOC_ SD_ DATA_ FSM
- Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
- Ros2 - common command line (IV)
- 基于Cortex-M3、M4的GPIO口位带操作宏定义(可总线输入输出,可用于STM32、ADuCM4050等)
- [tf1] save and load parameters
猜你喜欢
PowerManagerService(一)— 初始化
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Ethtool principle introduction and troubleshooting ideas for network card packet loss (with ethtool source code download)
C#学习笔记
SD_CMD_RECEIVE_SHIFT_REGISTER
Three body goal management notes
第 2 章:小试牛刀,实现一个简单的Bean容器
ROS2——初识ROS2(一)
PHY drive commissioning --- mdio/mdc interface Clause 22 and 45 (I)
Ros2 - Service Service (IX)
随机推荐
Brief description of inux camera (Mipi interface)
2022.06.27_每日一题
Ros2 - install ros2 (III)
Ros2 topic (VIII)
Negative number storage and type conversion in programs
DelayQueue延迟队列的使用和场景
Ros2 - configuration development environment (V)
npm install -g/--save/--save-dev的区别
SD_CMD_SEND_SHIFT_REGISTER
The SQL implementation has multiple records with the same ID, and the latest one is taken
Ros2 - workspace (V)
ROS2——Service服务(九)
1290_FreeRTOS中prvTaskIsTaskSuspended()接口实现分析
Ros2 - common command line (IV)
乐鑫面试流程
Mathematical analysis_ Notes_ Chapter 8: multiple integral
【idea】Could not autowire. No beans of xxx type found
Install deeptools in CONDA mode
三体目标管理笔记
list. files: List the Files in a Directory/Folder