MCPcopy Create free account
hub / github.com/RustyServerless/lambda-appsync / get_players

Function get_players

lambda-appsync/tests/make_appsync_no_batch.rs:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50// Operation Handlers
51#[appsync_operation(query(players))]
52async fn get_players() -> Result<Vec<Player>, AppsyncError> {
53 Ok(Database.values())
54}
55
56#[appsync_operation(query(player))]
57async fn get_player(id: ID) -> Result<Option<Player>, AppsyncError> {

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected