mirror of https://github.com/rocboss/paopao-ce
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
984 B
39 lines
984 B
version: '2'
|
|
sql:
|
|
- schema: postgres/schema
|
|
queries: postgres/query_pg
|
|
engine: postgresql
|
|
gen:
|
|
go:
|
|
package: pg
|
|
out: auto
|
|
sql_package: 'pgx/v5'
|
|
emit_prepared_queries: true
|
|
emit_interface: true
|
|
emit_result_struct_pointers: true
|
|
emit_params_struct_pointers: true
|
|
- schema: postgres/schema
|
|
queries: postgres/query_pga
|
|
engine: postgresql
|
|
gen:
|
|
go:
|
|
package: pga
|
|
out: auto/pga
|
|
sql_package: 'pgx/v5'
|
|
emit_prepared_queries: true
|
|
emit_interface: true
|
|
emit_result_struct_pointers: true
|
|
emit_params_struct_pointers: true
|
|
- schema: postgres/schema
|
|
queries: postgres/query_pgc
|
|
engine: postgresql
|
|
gen:
|
|
go:
|
|
package: pgc
|
|
out: auto/pgc
|
|
sql_package: 'pgx/v5'
|
|
emit_prepared_queries: true
|
|
emit_interface: true
|
|
emit_result_struct_pointers: true
|
|
emit_params_struct_pointers: true
|