This repository was archived by the owner on Jun 2, 2024. It is now read-only.
This repository was archived by the owner on Jun 2, 2024. It is now read-only.
Closed
Description
Hi,
I am searching for a method to check if the database record is a new one, or if it was already stored in the file system.
// in this example, you would search an exact user name
// It would technically be stored as user_name.json in the directories
$item = $database->get(kingslayer);
This is giving me a document with the id
kingslayer, regardless if it was already existing in the file system or not. I need some kind of method to check if the document is a newly created one, or if it is read from the filesystem (so already existed before).
Maybe I am not finding the correct method here...
Metadata
Metadata
Assignees
Labels
No labels