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..
边栏推荐
猜你喜欢
中国科学院院属研究单位
Go----Go 语言快速体验之开发环境搭建及第一个项目HelloWord
ETH Zurich重磅综述 | 人脸-素描合成:一个新的挑战
js Fetch返回数据res.json()报错问题
【心理学 · 人物】第一期
小姐姐面试蚂蚁金服被虐经历,心疼...
流量分析四—蓝牙
Detailed explanation of AtomicInteger
thinkphp框架5.0.23安全更新问题-漏洞修复-/thinkphp/library/think/App.php具体怎么改以及为什么要这么改
From the technical panorama to the actual scene, analyze the evolutionary breakthrough of "narrowband high-definition"
随机推荐
Electronic Industry Inventory Management Pain Points and WMS Warehouse Management System Solutions
实例034:调用函数
T5: Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
openlayers不常用接口介绍
动态生成不同类型的订单,请问如何存放到Mongodb数据库?
I have 8 years of experience in the Ali test, and I was able to survive by relying on this understanding.
【C语言刷题】Leetcode238——除自身以外数组的乘积
流量分析三—远程登陆
进程与线程
斯堪尼亚SCANIA OTL标签介绍
[Dynamic Programming Special Training] Basics
洛谷P1966 火柴排队
JVM内存和垃圾回收-05.虚拟机栈
如何获取EasyCVR平台设备通道的RTMP视频流地址?
EasyCVR平台通过国标GB28181接入柯达NVR显示注册失败,该如何解决?
Golang sync/atomic 包的原子操作说明
洛谷P2345 MooFest G
快手web did可用生成
十六进制文本的字节序问题
音频隐写一