当前位置:网站首页>(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
边栏推荐
- Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory
- Unity 之 ExecuteAlways正在取代ExecuteInEditMode
- SD_CMD_RECEIVE_SHIFT_REGISTER
- 1290_FreeRTOS中prvTaskIsTaskSuspended()接口实现分析
- ROS2——配置开发环境(五)
- 氢氧化钠是什么?
- 目标检测系列——Faster R-CNN原理详解
- [solved] there is something wrong with the image
- Logical structure and physical structure
- Docker installs MySQL and uses Navicat to connect
猜你喜欢
IPage can display data normally, but total is always equal to 0
[software testing] 04 -- software testing and software development
目标检测系列——Faster R-CNN原理详解
Ros2 - ros2 vs. ros1 (II)
C语言数组专题训练
[untitled]
Ros2 topic (VIII)
HDU1232 畅通工程(并查集)
Ros2 - first acquaintance with ros2 (I)
Matrix and TMB package version issues in R
随机推荐
[framework] multi learner
纯碱是做什么的?
乐鑫面试流程
HDU1231 最大连续子序列(分治or动规or双指针)
【Node】nvm 版本管理工具
Altimeter data knowledge point 2
二分查找(折半查找)
Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
2022年PMP项目管理考试敏捷知识点(7)
Negative number storage and type conversion in programs
The SQL implementation has multiple records with the same ID, and the latest one is taken
目标检测系列——Faster R-CNN原理详解
【软件测试】04 -- 软件测试与软件开发
U-Boot初始化及工作流程分析
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
window navicat连接阿里云服务器mysql步骤及常见问题
[OBS] x264 Code: "buffer_size“
list. files: List the Files in a Directory/Folder
ImportError: No module named ‘Tkinter‘