Spaces:
Sleeping
Sleeping
Update app.py
Browse files305 unmodified lines306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336305 unmodified lines"db.close()","db.run('CREATE TABLE table (column TEXT)')","db.run('DROP TABLE table')","db.get('SELECT name FROM sqlite_master WHERE type = \"table\" AND name = ?', ['table'], (err, row) => {})","db.all("SELECT name FROM sqlite_master WHERE type = \"table\"", ...)","const { Model } = require('sequelize'); Model.create({ column: 'value' })","Model.findAll({ where: { column: 'value' } })","Model.destroy({ where: { id: 1 } })","Model.update({ column: 'new_value' }, { where: { id: 1 } })","class Table extends Model {}","class ChildTable extends ParentTable {}","Model.init({ id: { type: DataTypes.INTEGER, primaryKey: true } }, { sequelize })","Model.init({ column: { type: DataTypes.STRING, unique: true } }, { sequelize })","Model.init({ column: { type: DataTypes.STRING, defaultValue: 'default' } }, { sequelize })","const csv = require('csv-parser'); fs.createReadStream('data.csv').pipe(csv())","const xlsx = require('xlsx'); xlsx.writeFile(data, 'data.xlsx')","const json = JSON.stringify(data)","const workbook = xlsx.readFile('data.xlsx')","const mergedWorkbook = xlsx.utils.book_append_sheet(workbook1, workbook2)","xlsx.utils.book_append_sheet(workbook, worksheet, 'New Sheet')","const style = workbook.Sheets['Sheet1']['A1'].s","const color = workbook.Sheets['Sheet1']['A1'].s.fill.fgColor","const font = workbook.Sheets['Sheet1']['A1'].s.font","const cellValue = workbook.Sheets['Sheet1']['A1'].v","workbook.Sheets['Sheet1']['A1'].v = 'New Value'","const { width, height } = require('image-size')('image.png')","const sharp = require('sharp'); sharp('image.png').resize(200, 200)"305 unmodified lines306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335305 unmodified lines"db.close()","db.run('CREATE TABLE table (column TEXT)')","db.run('DROP TABLE table')","db.get('SELECT name FROM sqlite_master WHERE type = \"table\" AND name = ?', ['table'], (err, row) => {})","db.all('SELECT name FROM sqlite_master WHERE type = \"table\"', (err, rows) => {})","const { Model } = require('sequelize'); Model.create({ column: 'value' })","Model.findAll({ where: { column: 'value' } })","Model.destroy({ where: { id: 1 } })","Model.update({ column: 'new_value' }, { where: { id: 1 } })","class Table extends Model {}","class ChildTable extends ParentTable {}","Model.init({ id: { type: DataTypes.INTEGER, primaryKey: true } }, { sequelize })","Model.init({ column: { type: DataTypes.STRING, unique: true } }, { sequelize })","Model.init({ column: { type: DataTypes.STRING, defaultValue: 'default' } }, { sequelize })","const csv = require('csv-parser'); fs.createReadStream('data.csv').pipe(csv())","const xlsx = require('xlsx'); xlsx.writeFile(data, 'data.xlsx')","const json = JSON.stringify(data)","const workbook = xlsx.readFile('data.xlsx')","const mergedWorkbook = xlsx.utils.book_append_sheet(workbook1, workbook2)","xlsx.utils.book_append_sheet(workbook, worksheet, 'New Sheet')","const style = workbook.Sheets['Sheet1']['A1'].s","const color = workbook.Sheets['Sheet1']['A1'].s.fill.fgColor","const font = workbook.Sheets['Sheet1']['A1'].s.font","const cellValue = workbook.Sheets['Sheet1']['A1'].v","workbook.Sheets['Sheet1']['A1'].v = 'New Value'","const { width, height } = require('image-size')('image.png')","const sharp = require('sharp'); sharp('image.png').resize(200, 200)"
app.py+24-25