Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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"
)]
26
async fn new() -> Template {
27
Template::render(
"new"
, &Context::default())
28
}
29
30
#[post(
"/"
, data =
"<post_form>"
)]
31
async fn create(conn: Connection<Db>, post_form: Form<post::Model>) -> Flash<Redirect> {
Callers
15
upload
Function · 0.50
view
Function · 0.50
routes
Function · 0.50
graphql_playground
Function · 0.50
graphql_handler
Function · 0.50
routes
Function · 0.50
login
Function · 0.50
routes
Function · 0.50
routes
Function · 0.50
current
Function · 0.50
routes
Function · 0.50
run
Method · 0.50
Calls
no outgoing calls
Tested by
2
prepare_mock_db
Function · 0.40
prepare_mock_db
Function · 0.40