Skip to content

Where should I define the schema name to execute query on specific schema for pg? #34

Description

@shaishab

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions