Re: [pgadmin-hackers] [question]
От | Murtuza Zabuawala |
---|---|
Тема | Re: [pgadmin-hackers] [question] |
Дата | |
Msg-id | CAKKotZRW4hX3RNQnkH58GWLGcooTpo7r1ZkU4NG3cB4M1W4K-g@mail.gmail.com обсуждение исходный текст |
Ответ на | [pgadmin-hackers] [question] (Sarah McAlear <smcalear@pivotal.io>) |
Ответы |
Re: [pgadmin-hackers] [question]
|
Список | pgadmin-hackers |
Hi Sarah,
Each number represent mapping of id for the node.
For example in your case,
/browser/<node>/children/< server-group-id>/<server-id>
/browser/server/children/1/3
Here <node> is the type of object (eg: server-group, server, database, table etc) and <server-id> will be the column 'id' of server table(pgadmin4.db), I guess you have multiple entries of a same server with different name in sqltite database.
/browser/<node>/children/< server-group-id>/<server-id>/< database-id>
/browser/database/children/1/ 1/12641
Here < database-id> is OID of connected database.
We follow this same URL object mapping almost everywhere in pgAdmin4.
--
Regards,
On Wed, Apr 12, 2017 at 3:39 AM, Sarah McAlear <smcalear@pivotal.io> wrote:
Hello Hackers,We are working with the tree and are looking into the paths that are used to get tree data from the Python backend. We noticed that the path has a component that has to be numeric, but it appears that what this number is, is irrelevant. Here's an example:
/browser/server/children/1/3So in this case, the '1' seems to be required and appears to represent the server-group, but we're not sure. It appears that the response is the same no matter what number is passed in. Is there any behavior in the application that depends on that number?Thanks,Sarah & George
В списке pgadmin-hackers по дате отправления: