|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`non-pretty: misc/pg_catalog-1.sql 1`] = `"SELECT pg_catalog.json_object('{}')"`; |
| 4 | + |
| 5 | +exports[`non-pretty: misc/pg_catalog-2.sql 1`] = `"SELECT * FROM generate_series(1, 5)"`; |
| 6 | + |
| 7 | +exports[`non-pretty: misc/pg_catalog-3.sql 1`] = `"SELECT get_byte('\\xDEADBEEF'::bytea, 1)"`; |
| 8 | + |
| 9 | +exports[`non-pretty: misc/pg_catalog-4.sql 1`] = `"SELECT now()"`; |
| 10 | + |
| 11 | +exports[`non-pretty: misc/pg_catalog-5.sql 1`] = `"SELECT clock_timestamp()"`; |
| 12 | + |
| 13 | +exports[`non-pretty: misc/pg_catalog-6.sql 1`] = `"SELECT to_char(now(), 'YYYY-MM-DD HH24:MI:SS')"`; |
| 14 | + |
| 15 | +exports[`non-pretty: misc/pg_catalog-7.sql 1`] = `"SELECT json_build_object('name', 'Alice', 'age', 30)"`; |
| 16 | + |
| 17 | +exports[`non-pretty: misc/pg_catalog-8.sql 1`] = `"SELECT pg_typeof(42), pg_typeof('hello'), pg_typeof(now())"`; |
| 18 | + |
| 19 | +exports[`non-pretty: misc/pg_catalog-9.sql 1`] = `"SELECT SUBSTRING('abcdefg' FROM 2 FOR 3)"`; |
| 20 | + |
| 21 | +exports[`non-pretty: misc/pg_catalog-10.sql 1`] = `"SELECT replace('hello world', 'l', 'L')"`; |
| 22 | + |
| 23 | +exports[`non-pretty: misc/pg_catalog-11.sql 1`] = `"SELECT length('yolo')"`; |
| 24 | + |
| 25 | +exports[`non-pretty: misc/pg_catalog-12.sql 1`] = `"SELECT POSITION('G' IN 'ChatGPT')"`; |
| 26 | + |
| 27 | +exports[`non-pretty: misc/pg_catalog-13.sql 1`] = `"SELECT TRIM(BOTH FROM ' padded text ')"`; |
| 28 | + |
| 29 | +exports[`non-pretty: misc/pg_catalog-14.sql 1`] = `"SELECT ltrim('---abc', '-')"`; |
| 30 | + |
| 31 | +exports[`non-pretty: misc/pg_catalog-15.sql 1`] = `"SELECT array_agg(id) FROM ( VALUES (1), (2), (3) ) AS t(id)"`; |
| 32 | + |
| 33 | +exports[`non-pretty: misc/pg_catalog-16.sql 1`] = `"SELECT string_agg(name, ', ') FROM ( VALUES ('Alice'), ('Bob'), ('Carol') ) AS t(name)"`; |
| 34 | + |
| 35 | +exports[`non-pretty: misc/pg_catalog-17.sql 1`] = `"SELECT json_agg(name) FROM ( VALUES ('A'), ('B') ) AS t(name)"`; |
| 36 | + |
| 37 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-1.sql 1`] = `"CREATE TABLE public."ACTIVITY" ("ACTIVITY_ID" bigint NOT NULL, "PUBLISHED" timestamp(2) with time zone)"`; |
| 38 | + |
| 39 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-2.sql 1`] = `"CREATE TABLE public."ACTIVITY" ("ACTIVITY_ID" bigint NOT NULL, "PUBLISHED" timestamp(2))"`; |
| 40 | + |
| 41 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-3.sql 1`] = `"CREATE TABLE public."EXAMPLE" ("MESSAGE" text)"`; |
| 42 | + |
| 43 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-4.sql 1`] = `"CREATE TABLE public."EXAMPLE_TIME" ("START_TIME" time)"`; |
| 44 | + |
| 45 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-5.sql 1`] = `"CREATE TABLE public."EXAMPLE_TIMETZ" ("START_TIME" time with time zone)"`; |
| 46 | + |
| 47 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-6.sql 1`] = `"CREATE TABLE public."EXAMPLE_TIME_PRECISION" ("START_TIME" time(3))"`; |
| 48 | + |
| 49 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-7.sql 1`] = `"CREATE TABLE public."EXAMPLE_TIMETZ_PRECISION" ("START_TIME" time(3) with time zone)"`; |
| 50 | + |
| 51 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-8.sql 1`] = `"CREATE TABLE public."EXAMPLE_TIMESTAMP" ("CREATED_AT" timestamp)"`; |
| 52 | + |
| 53 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-9.sql 1`] = `"CREATE TABLE public."EXAMPLE_TIMESTAMPTZ" ("CREATED_AT" timestamp with time zone)"`; |
| 54 | + |
| 55 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-10.sql 1`] = `"CREATE TABLE public."EXAMPLE_INTERVAL" ("DURATION" interval)"`; |
| 56 | + |
| 57 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-11.sql 1`] = `"CREATE TABLE public."EXAMPLE_INTERVAL_PRECISION" ("DURATION" interval(2))"`; |
| 58 | + |
| 59 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-12.sql 1`] = `"CREATE TABLE public."EXAMPLE_DATE" ("BIRTHDAY" date)"`; |
| 60 | + |
| 61 | +exports[`non-pretty: misc/pg_catalog-timestamp-etc-13.sql 1`] = `"CREATE TABLE public."EXAMPLE_BOOL" ("IS_ACTIVE" boolean)"`; |
| 62 | + |
| 63 | +exports[`pretty: misc/pg_catalog-1.sql 1`] = `"SELECT pg_catalog.json_object('{}')"`; |
| 64 | + |
| 65 | +exports[`pretty: misc/pg_catalog-2.sql 1`] = ` |
| 66 | +"SELECT * |
| 67 | +FROM generate_series(1, 5)" |
| 68 | +`; |
| 69 | + |
| 70 | +exports[`pretty: misc/pg_catalog-3.sql 1`] = `"SELECT get_byte('\\xDEADBEEF'::bytea, 1)"`; |
| 71 | + |
| 72 | +exports[`pretty: misc/pg_catalog-4.sql 1`] = `"SELECT now()"`; |
| 73 | + |
| 74 | +exports[`pretty: misc/pg_catalog-5.sql 1`] = `"SELECT clock_timestamp()"`; |
| 75 | + |
| 76 | +exports[`pretty: misc/pg_catalog-6.sql 1`] = `"SELECT to_char(now(), 'YYYY-MM-DD HH24:MI:SS')"`; |
| 77 | + |
| 78 | +exports[`pretty: misc/pg_catalog-7.sql 1`] = `"SELECT json_build_object('name', 'Alice', 'age', 30)"`; |
| 79 | + |
| 80 | +exports[`pretty: misc/pg_catalog-8.sql 1`] = ` |
| 81 | +"SELECT |
| 82 | + pg_typeof(42), |
| 83 | + pg_typeof('hello'), |
| 84 | + pg_typeof(now())" |
| 85 | +`; |
| 86 | + |
| 87 | +exports[`pretty: misc/pg_catalog-9.sql 1`] = `"SELECT SUBSTRING('abcdefg' FROM 2 FOR 3)"`; |
| 88 | + |
| 89 | +exports[`pretty: misc/pg_catalog-10.sql 1`] = `"SELECT replace('hello world', 'l', 'L')"`; |
| 90 | + |
| 91 | +exports[`pretty: misc/pg_catalog-11.sql 1`] = `"SELECT length('yolo')"`; |
| 92 | + |
| 93 | +exports[`pretty: misc/pg_catalog-12.sql 1`] = `"SELECT POSITION('G' IN 'ChatGPT')"`; |
| 94 | + |
| 95 | +exports[`pretty: misc/pg_catalog-13.sql 1`] = `"SELECT TRIM(BOTH FROM ' padded text ')"`; |
| 96 | + |
| 97 | +exports[`pretty: misc/pg_catalog-14.sql 1`] = `"SELECT ltrim('---abc', '-')"`; |
| 98 | + |
| 99 | +exports[`pretty: misc/pg_catalog-15.sql 1`] = ` |
| 100 | +"SELECT array_agg(id) |
| 101 | +FROM ( VALUES |
| 102 | + (1), |
| 103 | + (2), |
| 104 | + (3) ) AS t(id)" |
| 105 | +`; |
| 106 | + |
| 107 | +exports[`pretty: misc/pg_catalog-16.sql 1`] = ` |
| 108 | +"SELECT string_agg(name, ', ') |
| 109 | +FROM ( VALUES |
| 110 | + ('Alice'), |
| 111 | + ('Bob'), |
| 112 | + ('Carol') ) AS t(name)" |
| 113 | +`; |
| 114 | + |
| 115 | +exports[`pretty: misc/pg_catalog-17.sql 1`] = ` |
| 116 | +"SELECT json_agg(name) |
| 117 | +FROM ( VALUES |
| 118 | + ('A'), |
| 119 | + ('B') ) AS t(name)" |
| 120 | +`; |
| 121 | + |
| 122 | +exports[`pretty: misc/pg_catalog-timestamp-etc-1.sql 1`] = ` |
| 123 | +"CREATE TABLE public."ACTIVITY" ( |
| 124 | + "ACTIVITY_ID" bigint NOT NULL, |
| 125 | + "PUBLISHED" timestamp(2) with time zone |
| 126 | +)" |
| 127 | +`; |
| 128 | + |
| 129 | +exports[`pretty: misc/pg_catalog-timestamp-etc-2.sql 1`] = ` |
| 130 | +"CREATE TABLE public."ACTIVITY" ( |
| 131 | + "ACTIVITY_ID" bigint NOT NULL, |
| 132 | + "PUBLISHED" timestamp(2) |
| 133 | +)" |
| 134 | +`; |
| 135 | + |
| 136 | +exports[`pretty: misc/pg_catalog-timestamp-etc-3.sql 1`] = ` |
| 137 | +"CREATE TABLE public."EXAMPLE" ( |
| 138 | + "MESSAGE" text |
| 139 | +)" |
| 140 | +`; |
| 141 | + |
| 142 | +exports[`pretty: misc/pg_catalog-timestamp-etc-4.sql 1`] = ` |
| 143 | +"CREATE TABLE public."EXAMPLE_TIME" ( |
| 144 | + "START_TIME" time |
| 145 | +)" |
| 146 | +`; |
| 147 | + |
| 148 | +exports[`pretty: misc/pg_catalog-timestamp-etc-5.sql 1`] = ` |
| 149 | +"CREATE TABLE public."EXAMPLE_TIMETZ" ( |
| 150 | + "START_TIME" time with time zone |
| 151 | +)" |
| 152 | +`; |
| 153 | + |
| 154 | +exports[`pretty: misc/pg_catalog-timestamp-etc-6.sql 1`] = ` |
| 155 | +"CREATE TABLE public."EXAMPLE_TIME_PRECISION" ( |
| 156 | + "START_TIME" time(3) |
| 157 | +)" |
| 158 | +`; |
| 159 | + |
| 160 | +exports[`pretty: misc/pg_catalog-timestamp-etc-7.sql 1`] = ` |
| 161 | +"CREATE TABLE public."EXAMPLE_TIMETZ_PRECISION" ( |
| 162 | + "START_TIME" time(3) with time zone |
| 163 | +)" |
| 164 | +`; |
| 165 | + |
| 166 | +exports[`pretty: misc/pg_catalog-timestamp-etc-8.sql 1`] = ` |
| 167 | +"CREATE TABLE public."EXAMPLE_TIMESTAMP" ( |
| 168 | + "CREATED_AT" timestamp |
| 169 | +)" |
| 170 | +`; |
| 171 | + |
| 172 | +exports[`pretty: misc/pg_catalog-timestamp-etc-9.sql 1`] = ` |
| 173 | +"CREATE TABLE public."EXAMPLE_TIMESTAMPTZ" ( |
| 174 | + "CREATED_AT" timestamp with time zone |
| 175 | +)" |
| 176 | +`; |
| 177 | + |
| 178 | +exports[`pretty: misc/pg_catalog-timestamp-etc-10.sql 1`] = ` |
| 179 | +"CREATE TABLE public."EXAMPLE_INTERVAL" ( |
| 180 | + "DURATION" interval |
| 181 | +)" |
| 182 | +`; |
| 183 | + |
| 184 | +exports[`pretty: misc/pg_catalog-timestamp-etc-11.sql 1`] = ` |
| 185 | +"CREATE TABLE public."EXAMPLE_INTERVAL_PRECISION" ( |
| 186 | + "DURATION" interval(2) |
| 187 | +)" |
| 188 | +`; |
| 189 | + |
| 190 | +exports[`pretty: misc/pg_catalog-timestamp-etc-12.sql 1`] = ` |
| 191 | +"CREATE TABLE public."EXAMPLE_DATE" ( |
| 192 | + "BIRTHDAY" date |
| 193 | +)" |
| 194 | +`; |
| 195 | + |
| 196 | +exports[`pretty: misc/pg_catalog-timestamp-etc-13.sql 1`] = ` |
| 197 | +"CREATE TABLE public."EXAMPLE_BOOL" ( |
| 198 | + "IS_ACTIVE" boolean |
| 199 | +)" |
| 200 | +`; |
0 commit comments