Skip to content

Instantly share code, notes, and snippets.

@dsandip
Last active January 17, 2019 09:23
Show Gist options
  • Save dsandip/c93904d6e6908fb6a84ccacf1e10e782 to your computer and use it in GitHub Desktop.
Save dsandip/c93904d6e6908fb6a84ccacf1e10e782 to your computer and use it in GitHub Desktop.
Custom functions: Example custom PostGIS function query
query {
search_landmarks_near_user(
args: {userid: 3, distance_kms: 20}
){
user_id
location
nearby_landmarks
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment