Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/postgresql/actions/delete-rows/delete-rows.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Delete Row(s)",
key: "postgresql-delete-rows",
description: "Deletes a row or rows from a table. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "action",
props: {
postgresql,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Execute SQL Query",
key: "postgresql-execute-custom-query",
description: "Execute a custom PostgreSQL query. See [our docs](https://pipedream.com/docs/databases/working-with-sql) to learn more about working with SQL in Pipedream.",
version: "3.0.2",
version: "3.0.3",
type: "action",
props: {
postgresql,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Find Row With Custom Query",
key: "postgresql-find-row-custom-query",
description: "Finds a row in a table via a custom query. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "action",
props: {
postgresql,
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/actions/find-row/find-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Find Row",
key: "postgresql-find-row",
description: "Finds a row in a table via a lookup column. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "action",
props: {
postgresql,
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/actions/insert-row/insert-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Insert Row",
key: "postgresql-insert-row",
description: "Adds a new row. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "action",
props: {
postgresql,
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/actions/update-row/update-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Update Row",
key: "postgresql-update-row",
description: "Updates an existing row. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "action",
props: {
postgresql,
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/actions/upsert-row/upsert-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "Upsert Row",
key: "postgresql-upsert-row",
description: "Adds a new row or updates an existing row. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "action",
props: {
postgresql,
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/postgresql",
"version": "2.2.2",
"version": "2.2.3",
"description": "Pipedream PostgreSQL Components",
"main": "postgresql.app.mjs",
"keywords": [
Expand Down
5 changes: 4 additions & 1 deletion components/postgresql/postgresql.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,17 @@ export default {
* JSON-serializable object.
*/
async getSchema() {
const filter = this.$auth.pd_schema_explorer_retrieve_all ?
"NOT IN ('pg_catalog', 'information_schema')" :
"= 'public'";
const text = `
SELECT table_name AS "tableName",
column_name AS "columnName",
is_nullable AS "isNullable",
data_type AS "dataType",
column_default AS "columnDefault"
FROM information_schema.columns
WHERE table_schema NOT IN ('pg_catalog', 'information_schema')
WHERE table_schema ${filter}
ORDER BY table_name,
ordinal_position
`;
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/sources/new-column/new-column.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "New Column",
key: "postgresql-new-column",
description: "Emit new event when a new column is added to a table. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "source",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "New or Updated Row",
key: "postgresql-new-or-updated-row",
description: "Emit new event when a row is added or modified. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "source",
dedupe: "unique",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "New Row Custom Query",
key: "postgresql-new-row-custom-query",
description: "Emit new event when new rows are returned from a custom query that you provide. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "source",
dedupe: "unique",
props: {
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/sources/new-row/new-row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "New Row",
key: "postgresql-new-row",
description: "Emit new event when a new row is added to a table. [See the documentation](https://node-postgres.com/features/queries)",
version: "3.0.6",
version: "3.0.7",
type: "source",
dedupe: "unique",
props: {
Expand Down
2 changes: 1 addition & 1 deletion components/postgresql/sources/new-table/new-table.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "New Table",
key: "postgresql-new-table",
description: "Emit new event when a new table is added to the database. [See the documentation](https://node-postgres.com/features/queries)",
version: "2.0.6",
version: "2.0.7",
type: "source",
props: {
...common.props,
Expand Down
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading