Home | History | Annotate | Download | only in frontend

Lines Matching full:database

5 """Django database Router
7 Django gets configured with three database connections in frontend/settings.py.
8 - The default database
9 - This database should be used for most things.
10 - For the master, this is the global database.
11 - For shards, this this is the shard-local database.
12 - The global database
13 - For the master, this is the same database as default, which is the global
14 database.
15 - For the shards, this is the global database (the same as for the master).
17 - This should be the same database as the global database, but it should
18 use an account on the database that only has readonly permissions.
19 - The server database
20 - This is the database stores information about all servers in the Autotest
22 database is use_server_db is enabled in global config.
25 the tko parser should always write to the global database. Otherwise test
30 prefix to server database, route all queries for tables that involve
31 `tko_`-prefixed tables to the global database. For all others this router will
32 not give a hint, which means the default database will be used.
39 This is an implementaton of Django's multi-database router interface:
48 @return: True if querying the model requires server database.
58 @return: True if querying the model requires global database.
64 """Return the database for a reading access.
67 @param hints: Optional arguments to determine which database for read.
80 """Return the database for a writing access.
83 @param hints: Optional arguments to determine which database for write.