Skip to content

shopstic/pg-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostgreSQL introspection into TypeScript types

deno run -A --check ./src/cli.ts gen ...
USAGE EXAMPLE:

    gen --hostname=... --port=... --database=... --user=... --password=... --schemas="public" [--tableNaming="camel"] --outputDirectory=... --helperImportLocation=...

ARGUMENTS:

    --hostname             (string)                       
    --port                 (integer)                      
    --database             (string)                       
    --user                 (string)                       
    --password             (string)                       
    --schemas              (string | string...)           One or more postgres schemas to introspect
    --tableNaming="snake"  ("snake" | "camel" | "pascal") Naming convention for generated table names
    --outputDirectory      (string)                       
    --helperImportLocation (string)   

About

PostgreSQL introspection into TypeScript types

Resources

License

Stars

Watchers

Forks

Packages

No packages published