【发布时间】:2013-02-16 01:52:20
【问题描述】:
如您所知,calibre 有一个名为 metadata.db 的数据库,由 SQLite 制成,
我想从所有具有此列的书籍中查询:
bookId Title Date Size Rating Tags Publisher PublishedDate Author Cover
------ ----- ---- ---- ------ ---- --------- ------------- ------ -----
但是,该数据库包含这些表:
Books Table
-----------
Name
id
title
sort
timestamp
pubdate
series_index
author_sort
isbn
lccn
path
flags
uuid
has_cover
last_modified
Authors Table
-------------
Name
id
name
sort
link
Publishers Table
----------------
Name
id
name
sort
它们之间没有关系,我怎样才能得到我的查询?
【问题讨论】:
-
在源代码 (python) 中找到了这个,SQL 的 sn-ps 可以帮助你:bazaar.launchpad.net/~kovid/calibre/trunk/view/head:/src/…