Replies: 1 comment
-
Yes, the goal is that you create the file yourself. You don't need I did not implement this by design because developers usually already have one of those file handling libraries installed and I didn't want to add another |
Beta Was this translation helpful? Give feedback.
-
Currently, I have to create the sqlite database myself, otherwise I receive an error when I call the
create
function of the LoupeFactory.I tried doing this via
$db = new SQLite3("loupe.db"));
This however creates an empty database. When I call
search
on this database before adding any documents, an error is thrown.This could be handled better in my opinion, since it is not so uncommon to not have any documents in the database at the beginning.
Would it be possible to have something like a
setup
function, which creates a new sqlite batabase with the required tables or at least populates an existing sqlite database so it is usable?Beta Was this translation helpful? Give feedback.
All reactions