Open stefankummer opened 1 month ago
You are passing a string to the second select() parameter.
Please read the documentation. https://medoo.in/api/select.
Hi, according the docs that i"ve read, to select an entire column : $data = $database->select("account", "user_name"); Second argument is a string.
@stefankummer Sorry, my mistake. However, it should work. It's on the test case. https://github.com/catfan/Medoo/blob/d1ff4e0e873a3e032e3d8804031dd6be4e013b22/tests/SelectTest.php#L60-L73
Please provide the full code you called.
Information
Describe the Problem Argument '2' passed to select() is expected to be of type array, string given