> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/openstack_code_neutron/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/openstack_code_neutron/neutron/db/common_db_mixinpy.md).

# common\_db\_mixin.py

定义了在核心plugin和服务plugin中的常见的数据库方法。 实现了扩展的插件类则需要通过register\_model\_query\_hook来注册它的hook。
