You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letdb=awaitDatabase.load(`mysql://${username}:${password}@${host}:${port}/information_schema`)letres=awaitdb.select(`SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '${database}' AND TABLE_TYPE = 'BASE TABLE'`)console.info('返回:',res)
error:unsupported datatype: BINARY
But when I use:SELECT TABLE_SCHEMA, TABLE_NAME FROM INFORMATION_SCHEMA.TABLES ........
Returns correctly when * is not used
Today I changed a table with a marker bit type, and a new error occurred during the query.
error:unsupported datatype: BIT
database is mysql,table structure:
letdb=awaitDatabase.load(`mysql://${username}:${password}@${host}:${port}/${database}`)letsql=`SELECT * FROM ${database}.${connName}`console.info(‘sql',sql)letres=awaitdb.select(sql)
Describe the bug
Here's my code
error:unsupported datatype: BINARY
But when I use:SELECT TABLE_SCHEMA, TABLE_NAME FROM INFORMATION_SCHEMA.TABLES ........
Returns correctly when * is not used
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: