get

fun get(campsiteId: String): Campsite?

Gets a Campsite object from the database given its campsiteId.

Return

The Campsite object with the specified campsiteId if it exists. null otherwise.

Parameters

campsiteId

The campsiteId to search for.