sql-query-identifier icon indicating copy to clipboard operation
sql-query-identifier copied to clipboard

A SQL query identifier (e.g. INSERT, SELECT, CREATE TABLE, and etc.)

Results 12 sql-query-identifier issues
Sort by recently updated
recently updated
newest added

The following call: ```javascript const result = identify("SELECT * INTO public.\"MyTable1\" FROM public.\"MyTable2\""); ``` Yields the following result: ```json [ { "start": 0, "end": 53, "text": "SELECT * INTO public.\"MyTable1\"...

Add detection for transaction statements like `BEGIN TRANSACTION`, `START TRANSACTION`, `COMMIT`, `ROLLBACK`, etc. I am probably missing some corner cases here and there may be some syntax I'm not aware...