fb5bcf8967
Fixed some invalid queries
2020-10-07 15:06:57 +01:00
37514e7357
Renamed manage to database prior to some restructuring
2020-10-07 14:52:54 +01:00
65a8a8960b
Refactored MODB management
2020-10-07 14:47:24 +01:00
3847818116
modbTableName now takes an optional encapsulation char
2020-10-07 14:37:39 +01:00
0ab65604e0
Split implementation of private functions into private files
2020-10-07 13:36:45 +01:00
8fc064e919
Renamed manage to management
2020-10-07 13:36:09 +01:00
75bac590f1
Created user/group handling in c
2020-10-07 13:09:17 +01:00
6335951046
Added a join helper
2020-10-07 13:01:36 +01:00
0787fd8e3c
Changed default behaviour of Count and Delete queries to delete the where builder
2020-10-07 12:47:08 +01:00
b62a3f0c99
Flag to free the where builder when compiling
2020-10-07 12:40:04 +01:00
12db8ea12c
Renamed WhereBuilder destroyer to free
2020-10-07 11:40:06 +01:00
023dc8e2b3
Fixed some query issues
2020-10-07 11:34:06 +01:00
42cb62697f
Fixed some memory leaks
2020-10-07 11:33:39 +01:00
d30bcf3ddf
Added some more convenience queries
2020-10-06 17:47:27 +01:00
e0b7e01ab1
Moved createColString into db_column as createColumn
2020-10-06 16:22:09 +01:00
8bf9be5b83
Proper handling of MySQL timestamp format<->unix timestamps
2020-10-06 15:51:38 +01:00
d8a95220c0
Change in logging string
2020-10-06 15:01:26 +01:00
eba4a6027c
Print SQL query if SQL_DEBUG is defined (or in debug builds)
2020-10-06 15:01:10 +01:00
4937b58c98
Typedef'd some structs to make code readability easier
2020-10-06 15:00:13 +01:00
14032f98cf
Unique username and email for users and unique name for groups
2020-10-06 13:37:39 +01:00
76486ade5c
Group and User index elevated to primary key
2020-10-06 13:31:04 +01:00
681ad1a533
Fixed use allocation
2020-10-06 13:27:00 +01:00
2a80789f1d
Auto increment ID for groups and users
2020-10-06 13:23:58 +01:00
cf7ee1cf73
Added auto-increment ID column
2020-10-06 13:23:31 +01:00
33e70adf88
Added string builder overload to db_value
2020-10-06 13:20:53 +01:00
44ad06a819
Added some convenience methods for building column names
2020-10-06 11:22:05 +01:00
f64b9474cb
Fixed some boolean logic issues
2020-10-06 11:21:31 +01:00
abec0e5800
Added a selectColumn method for finding a column by name
2020-10-06 10:56:29 +01:00
2e17d6f75f
Added a str_builder variant of compileWhere/compileLogic
2020-10-06 10:55:49 +01:00
c720320b5c
Added missing functions to NAMESPACE
2020-10-05 17:43:47 +01:00
f9e4582caa
Added modb_use to initR
2020-10-05 17:40:45 +01:00
6e50ca145b
Fixed redefinition compile error
2020-10-05 17:30:54 +01:00
ca594a2c0b
Added modb_use to R and the c handler + moved the connection referencing to a helpers file
2020-10-05 17:30:27 +01:00
cbbda5378f
Header definition macros
2020-10-05 17:27:23 +01:00
5ef02c9c8f
Moved definitions from modb to modb_manage (2 of 2)
2020-10-05 17:24:33 +01:00
989662942e
Moved definitions from modb to modb_manage (1 of 2)
2020-10-05 17:23:37 +01:00
406fe9e057
Fixed the testing of table existance
2020-10-05 17:03:07 +01:00
eff16310fc
Link an MODB name to a stored connection for easier usage
2020-10-05 17:02:52 +01:00
04a5e6ae27
Change the result of create functions to booleans
2020-10-05 17:00:59 +01:00
cc367d190a
Moved the creation of the meta-extended table to the private implementation
2020-10-05 17:00:34 +01:00
9c0939ed26
Hide db_where_builder_p methods from export (GCC only)
2020-10-05 15:55:20 +01:00
5c7c2e71c9
Updated README.md
2020-10-02 13:20:49 +01:00
907d848791
Added R methods and their c counterparts for connection and database management
2020-10-02 13:12:03 +01:00
91013ea064
Added some ignores
2020-10-02 12:47:52 +01:00
cb9361fcc9
Collection of changes (mostly to db source)
...
- Replaced string malloc()... calls with strmemcpy() from strext.h where appropriate
- Added table name to column struct (useful for WHERE's)
- Changed the column type enum to powers of 2 (potential for NULLABLE flag by or'ing)
- Added last_qry and num_queries to connection struct
- Fixed destruct tables stopping on error
- Renamed owners to users except in the meta table
- Fixed the 'tableExists' query
2020-10-02 12:46:21 +01:00
6c8bab8da6
Added dependencies and imports
2020-10-02 12:25:15 +01:00
e54280a349
Fixed CRAN CHECK maintainer/author
2020-10-02 12:24:58 +01:00
65e9b0e061
Renamed the package to rmodb
2020-10-02 12:24:34 +01:00
2e6eb0b107
Start of MODB implementation
...
- Create, check and destroy MODB tables
2020-09-24 16:45:27 +01:00
7a1dd09ca1
Minor refactor to headers to include missing c-std headers
2020-09-24 16:42:41 +01:00