| Line 11: | Line 11: | ||
* Gallery 3 database tables can have a prefix to distinguish them from other tables in the same database. To support prefixes properly, all table names must be wrapped in curly braces whenever used in a database query. For example: ''$db->query(“SELECT * FROM {tags}”)'' | * Gallery 3 database tables can have a prefix to distinguish them from other tables in the same database. To support prefixes properly, all table names must be wrapped in curly braces whenever used in a database query. For example: ''$db->query(“SELECT * FROM {tags}”)'' | ||
| − | [[Category:Gallery 3:Developer Handbook]] | + | [[Category:Gallery 3:Developer Handbook|Database Abstraction Layer]] |
Gallery 3 uses the Kohana Database Abstraction Layer. This is well documented on the Kohana website:
Notes about the Gallery 3 database abstraction layer: