feat(database): ✨ re-add per-post counters to track page views etc.
This commit is contained in:
parent
5ddbae91d2
commit
a3604d21c9
7 changed files with 53 additions and 9 deletions
|
@ -73,6 +73,8 @@ interface PostdataInterface {
|
|||
public function set_postdata($data);
|
||||
public function set_post_markdown($id, $markdown);
|
||||
|
||||
public function increment_post_counter($path, $counter = 'views', $value = 1);
|
||||
|
||||
public function get_postdata($path);
|
||||
// Returns a key-value pair of child paths => child data
|
||||
public function get_post_children($path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue