Skip to content

How to close createStatement after fetchAllResults #24

@ignoric

Description

@ignoric

i use code same doc

  myDatabase.createStatement()
            .then(statement => {
                return statement.executeQuery('select * from FOO')
            })
            .then(resultSet => {
                const arrayOfResults = resultSet.fetchAllResults()
                arrayOfResults.forEach(result => {
                    console.log(result)
                })

            })

but when run nodemon executeQuery not close

thank you

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions