Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

76
Vistas
How to access a table present in a schema using persistent

I have a database which has different schema for different tables.

Example

CREATE TABLE animals.dog
(
      id                        INTEGER
    , name                      CHARACTER VARYING(20)
    , year                      INTEGER
);

When I want to query the dog table, I want to access it directly, as if it was created by persistent.

The query created to access data is generated as SELECT "id", "name", "year" FROM "animals.dog"; which assumes . to be part of table name.

Is there a way by which I can data from tables, present in some schema.

9 months ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

After a quick review of the docs and a search through the bug tracker, this is not currently support in Persistent. See bug #93.

9 months ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos