Skip to content

Instantly share code, notes, and snippets.

@Satys
Last active February 15, 2021 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Satys/e0df815c29050720d7f8d9be99c76255 to your computer and use it in GitHub Desktop.
Save Satys/e0df815c29050720d7f8d9be99c76255 to your computer and use it in GitHub Desktop.
//pseudo mysql query
policy_id = query(`SELECT policy_id from Role_Policy_Map where role_id=${role_id}`)
// it returns policy_id = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment