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()") |
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
4
Apr 24
|
4772 | |||
|
2
Feb 23
|
8611 | |||
|
Database Odoo
Solved
|
1
Mar 18
|
5435 | ||
|
1
Mar 17
|
5080 | |||
|
1
Aug 16
|
7071 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.