Skip to content

Conversation

@Dreller
Copy link
Contributor

@Dreller Dreller commented Feb 7, 2021

Trying to get all fields in a table, I have an error saying Undefined index 0 on MysqliDb.php, line 559.
I am using rawQuery("DESCRIBE table-name");. Looks like rawAddPrefix is not able to extract the table name because it doesn't look for the keyword 'describe', as it does for from, into, update and join. This commis adds 'describe' in the list so we now can use DESCRIBE keyword and get all columns for a table.

Add DESCRIBE in keywords searched to extract the table name and add the prefix.  This allow the use of DESCRIBE table-name.
@Dreller
Copy link
Contributor Author

Dreller commented Feb 7, 2021

#951

@avbdr avbdr merged commit aa1c0d1 into ThingEngineer:master Sep 13, 2022
@avbdr
Copy link
Collaborator

avbdr commented Sep 13, 2022

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants