I was looking at the views and as those gave an error in my tool, I checked them out.
But I think I figured it out. If I understand it correctly, it's some sort of stored function, except that it is not stored in the database, but in the code of the application. After looking at your PHP code, I figured out how it worked and I have now translated it. Now I need to rewrite my queries to make use of it. It looks like I can't make use of the views that are already defined in the database. They won't give an error message anymore, but they also won't make use of the function...
But my attempt of making a web application surrounding the Calibre database is progessing nicely.
|