Administrators use the form designer in the background to dynamically create dozens of different types of products (such as recharge orders, commodity orders, etc.), when the user submits the order, the conventional idea is to store the same fieldsInto the main table of the order, different fields are stored in the sub-table.
But these sub-tables cannot be prepared in advance because they are dynamically generated for different types of orders.
If these different types of order information are stored in the same field in the order table, will this affect the analysis and statistics of the data in the future?
So I want to ask the big guys, I hope you can give me some ideas or solutions, thank you~
当前位置:网站首页>Dynamically generate different types of orders, how do I deposit to mongo database?
Dynamically generate different types of orders, how do I deposit to mongo database?
2022-08-02 22:05:00 【segmentfault】
Other Answer 1:
My temporary solution is to store directly in the order table no matter what type of business order data..
边栏推荐
猜你喜欢
随机推荐
LeetCode每日一题(324. Wiggle Sort II)
洛谷P1502 窗口的星星
Jupyter Notebook(Anaconda)——两个环境分别修改默认打开目录(深度学习第一周番外篇)
洛谷P1966 火柴排队
2022最新彩虹表
连续三次 | 灵雀云入选Gartner中国ICT技术成熟度曲线报告
Golang swagger :missing required param comment parameters
MySQL详细安装与配置
音频隐写一
NIO之Selector执行流程
去年,一道蚂蚁金服笔试题,还行,中等难度
洛谷P4316 绿豆蛙的归宿
How to mitigate the attack of corporate account hijacking?
AtomicInteger详解
药品研发--检验记录与检验报告书的书写细则
What are the useful real-time network traffic monitoring software
Unity 打包和切换平台|Build Settings窗口介绍
Nature Microbiology综述:聚焦藻际--浮游植物和细菌互作的生态界面
治疗 | 如何识别和处理消极想法
【C语言刷题】双指针原地修改数组(力扣原题分析)









