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..
边栏推荐
猜你喜欢
随机推荐
被审稿人吐槽没有novelty!深度学习方向怎么找创新点?
From the technical panorama to the actual scene, analyze the evolutionary breakthrough of "narrowband high-definition"
动态生成不同类型的订单,请问如何存放到Mongodb数据库?
中职网络安全竞赛之应用服务漏洞扫描与利用
JVM内存和垃圾回收-04.程序计数器(PC寄存器)
视频隐写一
动态折线图,制作原来是这么简单
AI智能剪辑,仅需2秒一键提取精彩片段
小姐姐面试蚂蚁金服被虐经历,心疼...
新公链时代的跨链安全性解决方案
去年,一道蚂蚁金服笔试题,还行,中等难度
如何正确地配置入口文件?
NIO's Selector execution process
MYSQL关键字执行顺序?
动态规划常见实例详解
洛谷P1502 窗口的星星
基于OpenGL的冰川与火鸟(光照计算模型、视景体、粒子系统)
【C语言刷题】双指针原地修改数组(力扣原题分析)
7.21 - 每日一题 - 408
面试官:谈谈如何防止消息丢失和消息重复