Hi,
I would like to know if there is a way and how to proceed to programmatically know what is the current database name from within module scripts.
Thanks.
Hi,
I would like to know if there is a way and how to proceed to programmatically know what is the current database name from within module scripts.
Thanks.
Hi please try this:-
>> cursor_postgres.execute("select current_database()") |
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
Database for my module not created
Resolvido
|
4
abr. 24
|
3977 | ||
|
2
fev. 23
|
7657 | |||
|
Database Odoo
Resolvido
|
1
mar. 18
|
4733 | ||
|
1
mar. 17
|
4549 | |||
|
1
ago. 16
|
6431 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.