MCPcopy
hub / github.com/reflex-dev/reflex / create_all

Function create_all

reflex/model.py:122–125  ·  view source on GitHub ↗

Create all the tables.

()

Source from the content-addressed store, hash-verified

120 return _ENGINE[url]
121
122 def create_all():
123 """Create all the tables."""
124 engine = get_engine()
125 ModelRegistry.get_metadata().create_all(engine)
126
127 def get_async_engine(url: str | None) -> sqlalchemy.ext.asyncio.AsyncEngine:
128 """Get the async database engine.

Callers 1

create_allMethod · 0.85

Calls 3

get_engineFunction · 0.85
create_allMethod · 0.80
get_metadataMethod · 0.80

Tested by

no test coverage detected