mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
c55e936be0
This commit adds support for .sql files in "deno fmt" subcommand. Closes: https://github.com/denoland/deno/issues/25024 --------- Signed-off-by: m4rc3l05 <15786310+M4RC3L05@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
22 lines
269 B
SQL
22 lines
269 B
SQL
SELECT
|
|
*
|
|
FROM
|
|
foo;
|
|
|
|
UPDATE
|
|
foo
|
|
SET
|
|
a = 'b'
|
|
WHERE
|
|
id = 'biz';
|
|
|
|
CREATE TABLE foo(
|
|
id text NOT NULL bar text,
|
|
biz int,
|
|
buz number NOT NULL
|
|
);
|
|
|
|
INSERT INTO
|
|
user_data (first_name, last_name, address, phone, email)
|
|
VALUES
|
|
('foo', 'bar', 'biz', 1, 'bix');
|