This change prevents quotes around the $column value by not preparing it, and also by making sure its value is only 1 of 2 intended columns: Key_name and Column_name.
This fixes incorrectly generated SQL, allowing this method to function as intended instead of incorrectly returning no results.
This change prevents quotes around the $column value by not preparing it, and also by making sure its value is only 1 of 2 intended columns: Key_name and Column_name.
This fixes incorrectly generated SQL, allowing this method to function as intended instead of incorrectly returning no results.
Props @ashleyfae. Fixes #87.