lukinovec
75b74f2e6c
Make validateParameter have void return type
2026-04-30 09:28:48 +02:00
github-actions[bot]
182f3a2eb2
Fix code style (php-cs-fixer)
2026-04-29 12:16:22 +00:00
lukinovec
bdf592c0ff
Add parameter validation to DB managers
...
DB manager methods validate the parameters they use in SQL statements using validateParameter() (excluding parameters passed via bindings in SELECT statements).
2026-04-29 14:13:56 +02:00
lukinovec
ad7d229daf
Use parameter binding in SELECT queries
2026-04-29 10:21:47 +02:00
lukinovec
808f52765c
Use select() instead of selectOne() in databaseExists() and userExists()
...
This is just for consistency, since all the other DB managers use select().
2026-04-29 10:08:45 +02:00
0fc105487b
Tenant DB manager database() -> connection()
2024-09-12 18:34:45 +02:00
Samuel Štancl
7317d2638a
Postgres RLS + permission controlled database managers ( #33 )
...
This PR adds Postgres RLS (trait manager + table manager approach) and permission controlled managers for PostgreSQL.
---------
Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-04-24 22:32:49 +02:00
Samuel Štancl
d2e1ce0a1e
refactor TenantDatabaseManagers
2022-08-27 22:29:08 +02:00
Samuel Štancl
40bf28c7d0
general refactor, move more classes under Database namespace
2022-08-27 03:17:16 +02:00