如何进行数据设置无法删除? [英] How to make settings of data could not be deleted?

查看:104
本文介绍了如何进行数据设置无法删除?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何进行数据设置无法删除.例如,设置特殊的数据管理员用户名和密码,使其不能删除并永久保存?

How to make settings of data could not be deleted. For example, make a special data administrator username and password that can not deleted and permanent?

推荐答案

您必须实现行级安全性.
此处 [
You''ll have to implement row level security to do this.
Here[^] is a tutorial on how to do that in MySql.


这篇关于如何进行数据设置无法删除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆