Files
Forge-Engine/db/table_name_for.py
T
williamandwilliam 3f4ebc4527
Build and deploy / build-and-push (push) Successful in 17s
Build and deploy / deploy (push) Successful in 10s
first commit
2026-08-21 16:23:49 +02:00

7 lines
200 B
Python

from .slugify import slugify
def table_name_for(object_name):
"""Nom de la vraie table SQL pour un objet défini par l'utilisateur."""
return "obj_" + slugify(object_name).replace("-", "_")