I would like to execute the query on specific schema in postgreSQL. so where can I define the schema name?
tried bellow code but not working
jsonSql.build({
type: 'select',
table: 'user',
schema: 'schemaName',
fields: fields,
condition: condition
})
working by this way table: 'schemaName.tableName'
jsonSql.build({
type: 'select',
table: 'schemaName.tableName',
fields: fields,
condition: condition
})
Is this valid way or have other way ?