🎨 Run pre-commit on all files and autoformat (#666)

This commit is contained in:
Sebastián Ramírez
2023-10-23 11:46:31 +04:00
committed by GitHub
parent 7f72c60ae4
commit 27a81b2112
84 changed files with 311 additions and 324 deletions

View File

@@ -342,10 +342,10 @@ $ python app.py
// Create the table
CREATE TABLE hero (
id INTEGER,
name VARCHAR NOT NULL,
secret_name VARCHAR NOT NULL,
age INTEGER,
id INTEGER,
name VARCHAR NOT NULL,
secret_name VARCHAR NOT NULL,
age INTEGER,
PRIMARY KEY (id)
)
@@ -353,8 +353,8 @@ CREATE TABLE hero (
CREATE INDEX ix_hero_name ON hero (name)
// The SELECT with WHERE looks the same
INFO Engine SELECT hero.id, hero.name, hero.secret_name, hero.age
FROM hero
INFO Engine SELECT hero.id, hero.name, hero.secret_name, hero.age
FROM hero
WHERE hero.name = ?
INFO Engine [no key 0.00014s] ('Deadpond',)