Here comes a very short, cut-down version of relations.inc. It is a very basic api for use in various indexing schemes.
It can be expanded to hook into db_rewrite_sql(), but I refuse to do that for the sake of my remaining sanity.
The basic idea is that modules can/should use this or analogous api to perform all "relation" queries.
There is a HUUGE confusion going on about What is a relation?, but I won't participate in that any more - no time, sorry.
| Attachment | Size |
|---|---|
| relations.inc.txt | 2.69 KB |