Commit Graph

16 Commits

Author SHA1 Message Date
Relintai faac12d3b1 Now QueryBuilder is using my string. 2021-11-01 17:31:04 +01:00
Relintai cfb5f877c8 Now instead of having an escaped version of the methods that has string parmeters in QueryBuilder, they have an unescaped version, and the base version escapes. Having it like this is a lot safer. 2021-11-01 17:23:08 +01:00
Relintai 6073ef90c9 Fix typo. 2021-11-01 17:00:55 +01:00
Relintai 02c4294cda Now QueryBilder, QueryResult, and TableBullder are returned wrapped into a Ref<> from the database subsystem by default. 2021-11-01 16:57:22 +01:00
Relintai 928475d733 Added more things to QueryBuilder. 2021-08-22 21:44:20 +02:00
Relintai dd653ae60a Now QueryBuilder, QueryResult and TableBuilder are inherited from Reference. 2021-08-22 20:41:59 +02:00
Relintai 4228448fc1 Added and and or to the query builder, and implemented offset and limit for the sqlite query builder. 2021-08-20 13:14:06 +02:00
Relintai 1ae34a3500 Added more getters to the query result. 2021-08-20 12:58:37 +02:00
Relintai af05bd037c More work on the query builder. 2021-08-20 12:49:57 +02:00
Relintai 5050f31ba0 Update sql statement for the query builder. 2021-08-20 12:11:27 +02:00
Relintai 2c5293f959 Lost of work on the query/table builders. 2021-08-20 01:32:43 +02:00
Relintai d2a0f25369 Lots of work on the table builder. 2021-08-19 23:55:16 +02:00
Relintai 8ebb648d37 More work on the query builders. 2021-08-19 22:03:22 +02:00
Relintai 8de082ffba Started reworking the QueryBuilder. Now instead just creating a query string (when finished) it will actually be able to handle querying, escapes, and also prepared statements. 2021-08-19 14:12:02 +02:00
Relintai a86b5c2670 Added escape methods to the Database class. Implemented them for the MySQL, and Sqlite backend. 2021-07-08 18:52:59 +02:00
Relintai 7279035237 Moved the database related classes in core to a subfolder aswell. 2021-05-15 13:54:28 +02:00