{"id":16193510,"url":"https://github.com/pyramation/pgsql-parser-openfaas","last_synced_at":"2025-04-07T15:19:16.337Z","repository":{"id":66351120,"uuid":"151787612","full_name":"pyramation/pgsql-parser-openfaas","owner":"pyramation","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-08T22:34:38.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T02:03:52.665Z","etag":null,"topics":["ast","nodejs","openfaas","parser","pgsql"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyramation.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-05T23:18:32.000Z","updated_at":"2018-10-17T00:20:31.000Z","dependencies_parsed_at":"2023-02-26T23:15:51.485Z","dependency_job_id":null,"html_url":"https://github.com/pyramation/pgsql-parser-openfaas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fpgsql-parser-openfaas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fpgsql-parser-openfaas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fpgsql-parser-openfaas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fpgsql-parser-openfaas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyramation","download_url":"https://codeload.github.com/pyramation/pgsql-parser-openfaas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675598,"owners_count":20977378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ast","nodejs","openfaas","parser","pgsql"],"created_at":"2024-10-10T08:15:09.645Z","updated_at":"2025-04-07T15:19:16.312Z","avatar_url":"https://github.com/pyramation.png","language":"JavaScript","readme":"# use pgsql parser via openfaas!\n\nThis makes a openfaas function for https://github.com/pyramation/pg-query-parser\n\nDocker Hub: https://hub.docker.com/r/pyramation/pgsql-parser/\n\nExample usage/test:\n\n```sh\nmake test\necho \"select 1\" |  faas-cli invoke pgsql-parser --gateway http://127.0.0.1:31112 --content-type application/sql\n{\"contentType\":\"application/json\",\"content\":[{\"RawStmt\":{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"val\":{\"Integer\":{\"ival\":1}},\"location\":7}},\"location\":7}}],\"op\":0}}}}]}\n\nmake test-ast\necho '[{\"RawStmt\":{\"stmt\":{\"SelectStmt\":{\"targetList\":[{\"ResTarget\":{\"val\":{\"A_Const\":{\"val\":{\"Integer\":{\"ival\":1}},\"location\":7}},\"location\":7}}],\"op\":0}}}}]' | faas-cli invoke pgsql-parser --gateway http://127.0.0.1:31112 --content-type application/json\n{\"contentType\":\"text/plain\",\"content\":\"SELECT 1;\"}\n$\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyramation%2Fpgsql-parser-openfaas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyramation%2Fpgsql-parser-openfaas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyramation%2Fpgsql-parser-openfaas/lists"}