Skip to content

Commit

Permalink
Fix #47, updated README with new scope prefix behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mattia rossi committed Jan 24, 2024
1 parent ab6102e commit 3d730b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Generate PLV8 functions for an input typescript file
| --write-bundler-output | Boolean | Write the intermediate bundled Javascript output from bundler (currently, only ESBuild interface exists) | `false` |
| --input-file | String | Specify an input file path (only Typescript supported at the moment) | `input.ts` |
| --output-folder | String | Specify an output folder | `plv8ify-dist` |
| --scope-prefix | String | Specify a scope prefix, by default `plv8ify`, adds `plv8ify_` as prefix for exported typescript functions | `plv8ify` |
| --scope-prefix | String | Specify a scope prefix, by default `empty`, adds provided string as prefix for exported typescript functions | `plv8ify` |
| --pg-function-delimiter | String | Specify a delimiter for the generated Postgres function | `$plv8ify$` |
| --fallback-type | String | Specify a fallback type when `plv8ify` fails to map a detected Typescript type to a Postges type | `JSONB` |
| --mode | 'inline', 'bundle' or 'start_proc' | 'inline' will bundle the library in each function, both 'bundle' and 'start_proc' creates a `{prefix}_init` function that loads the library. 'bundle' adds a check to each function to call 'init' if required, whereas 'start_proc' is designed to be used with plv8.start_proc | `inline` |
Expand Down

0 comments on commit 3d730b1

Please sign in to comment.