Commit graph

19 commits

Author SHA1 Message Date
Alex Cabal
5066252355 Use 'insert ... returning' instead of 'Db::GetLastInsertedId()' 2025-03-10 13:03:31 -05:00
Alex Cabal
a019d5e87c Enable some additional PHPStan rules and fix some type issues 2025-03-01 13:39:57 -06:00
Alex Cabal
99b5fd66f2 More type fixes 2025-02-26 15:17:08 -06:00
Alex Cabal
e2e14a3551 Remove DbConnection class in favor of fully-static and typed Db class 2025-02-25 16:47:25 -06:00
Alex Cabal
93b8008c7e Add missing MultiTableSelect code 2024-12-19 14:25:48 -06:00
Mike Colagrosso
50aa81cb29 Create a helper function for SQL set membership 2024-11-04 13:16:56 -06:00
Alex Cabal
44901cf3e2 Add Db::QueryBool() and some code style updates 2024-09-15 13:50:13 -05:00
Alex Cabal
55fb675b70 Add Db::QueryFloat() 2024-05-18 20:43:10 -05:00
Alex Cabal
4cd7a1b72c Tweak some PHPDocs 2024-05-18 20:41:15 -05:00
Alex Cabal
52e177b886 Add new methods to DbConnection class 2024-05-13 15:13:02 -05:00
Alex Cabal
70ae877dd8 Bump PHPStan check level to max and add final round of type hints 2024-05-13 10:48:05 -05:00
Alex Cabal
e14988ff8c Improve exceptions in DB classes 2024-04-27 14:42:37 -05:00
Alex Cabal
783c09864f Add type hints for remaining classes 2024-01-08 16:08:57 -06:00
Alex Cabal
011cd747f1 Convert newsletter to use Users table as base 2022-07-04 12:09:49 -05:00
Alex Cabal
6c8414f844 Update PropertiesBase to new patterns and improve static analysis checks 2022-06-30 13:23:05 -05:00
Alex Cabal
32206f3cd7 Improve handling of returning patrons 2022-06-29 18:05:49 -05:00
Alex Cabal
58c0d301dd Add auto-detected types from DB in ORM 2022-02-22 10:49:54 -06:00
Alex Cabal
9f3104025d Add type hints and quiet a few other PHPStan complaints 2022-02-09 12:56:09 -06:00
Alex Cabal
9d923605d8 Add database and ORM scaffolding 2021-12-09 13:13:16 -06:00