MCPcopy Index your code
hub / github.com/reflex-dev/reflex / get_db_engine

Method get_db_engine

reflex/model.py:595–602  ·  view source on GitHub ↗

Get the database engine. Returns: The database engine.

()

Source from the content-addressed store, hash-verified

593
594 @staticmethod
595 def get_db_engine():
596 """Get the database engine.
597
598 Returns:
599 The database engine.
600 """
601 _warn_about_model_deprecation()
602 return get_engine()
603
604 @classmethod
605 def alembic_init(cls):

Callers

nothing calls this directly

Calls 2

get_engineFunction · 0.85

Tested by

no test coverage detected