Error "cannot read property 'indexes' of undefined" on DROP TABLE #133
Using a pre-built minified version 2.2.1, creating a table and then dropping it results in an error:
The following script creates, then immediately deletes, a table, resulting in the error being printed to the console.
The problem does not occur if the index definitions in the CREATE TABLE definition are commented out, i.e. the table has no indexes at the moment the DROP operation is executed. This suggests that it might be posisble to work around the problem by removing all indexes manually before attempting to DROP, but the wording of the documentation at https://nanosql.gitbook.io/docs/query/drop-table suggests that indexes should be removed automatically as part of the DROP operation.
The text was updated successfully, but these errors were encountered: