Skip to content

Instantly share code, notes, and snippets.

@ctrlaltdylan
Created June 27, 2022 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrlaltdylan/11ea97480cc6a34e59cb5680f15c1630 to your computer and use it in GitHub Desktop.
Save ctrlaltdylan/11ea97480cc6a34e59cb5680f15c1630 to your computer and use it in GitHub Desktop.
export default {
name: "Pg Custom Action",
version: "0.0.1",
key: "pg-custom-action",
description: "",
props: {
query: {
type: 'string',
label: 'Query',
},
},
type: "action",
methods: {
async queryDb(query) {
}
},
async run({ $ }) {
await this.queryDb(this.query)
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment