The clean & modern RSS server that doesn't give you any crap.
https://thearsse.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
390 B
18 lines
390 B
<?php
|
|
declare(strict_types=1);
|
|
namespace JKingWeb\NewsSync\Db;
|
|
|
|
Trait CommonSQLite3 {
|
|
|
|
static public function driverName(): string {
|
|
return "SQLite 3";
|
|
}
|
|
|
|
public function schemaVersion(string $schema = "main"): int {
|
|
return $this->unsafeQuery("PRAGMA $schema.user_version")->getSingle();
|
|
}
|
|
|
|
public function exec(string $query): bool {
|
|
return (bool) $this->db->exec($query);
|
|
}
|
|
}
|