MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / new

Function new

examples/rocket_example/api/src/lib.rs:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25#[get("/new")]
26async fn new() -> Template {
27 Template::render("new", &Context::default())
28}
29
30#[post("/", data = "<post_form>")]
31async fn create(conn: Connection<Db>, post_form: Form<post::Model>) -> Flash<Redirect> {

Callers 15

uploadFunction · 0.50
viewFunction · 0.50
routesFunction · 0.50
graphql_playgroundFunction · 0.50
graphql_handlerFunction · 0.50
routesFunction · 0.50
loginFunction · 0.50
routesFunction · 0.50
routesFunction · 0.50
currentFunction · 0.50
routesFunction · 0.50
runMethod · 0.50

Calls

no outgoing calls

Tested by 2

prepare_mock_dbFunction · 0.40
prepare_mock_dbFunction · 0.40