Skip to content

Instantly share code, notes, and snippets.

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 TheCubicleBuddha/b72d1e6428dda4ebd17a66b9cf89d7fa to your computer and use it in GitHub Desktop.
Save TheCubicleBuddha/b72d1e6428dda4ebd17a66b9cf89d7fa to your computer and use it in GitHub Desktop.
This demonstrates why it's best to clarify exactly what you want if you know what you need need. To see the solution, head over to: https://gist.github.com/TheCubicleBuddha/a72746c062b8386b33b9752d5d15d8c4
function getUserById(id: any){
// hits a database and returns the value
}
const guid = "b5f770f2-197c-4bf5-a31f-cfec4f545d06";
const user = getUserById(guid);
// ^^^ Runtime Error: PL/SQL: ORA-00932: inconsistent datatypes: expected NUMBER got - TEXT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment