0
I Use This!
Inactive

Commits : Listings

Analyzed about 5 hours ago. based on code collected about 12 hours ago.
Oct 31, 2023 — Oct 31, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
add ISC-style licenses to the source files More... over 15 years ago
update gitignore to skip generated docs More... over 15 years ago
add function to access the underlying Sqlite3.db handle as well More... over 15 years ago
output ocamldoc to the generated output More... over 15 years ago
inline the Sql_access.ml module so the generated file is standalone (apart from the Sqlite3 module itself) More... over 15 years ago
output an ml and mli interface with access to the sql_access bits hidden away so it can only be retrieved via the first Init.t call More... over 15 years ago
gc the delete_list function as it's not used in the generated code More... over 15 years ago
remove redundant module prefix Sql_access now that its opened More... over 15 years ago
add in transactions around saving object, and weave in a Sql_access.state variable to track transaction depth (since sqlite3 doesnt nest transactions). More... over 15 years ago
more tests for foreign mappings More... over 15 years ago
improve support for setting foreign mappings by dropping unused ones, and add tests for it More... over 15 years ago
fix up output indentation More... over 15 years ago
expand the test cases to cover more foreign tables More... over 15 years ago
add support for optional fields into the schema, which removes the special-case id hack there previously More... over 15 years ago
correct indentation in get output More... over 15 years ago
rearrange the infix operators to be near each other in the printer utils More... over 15 years ago
switch the printer and debug functions over to inline functions, using the identity to separate out format6 args (suggestion from Zheng Li) More... over 15 years ago
simplify the printer utilities more, by converting them to be format-string based (pfn and dbg for normal/debug). makes the code much easier to read through. More... over 15 years ago
make the indentation and printer functions a little less obtrusive in the main code by adding helper functions --> and --* for indent/comments More... over 15 years ago
add a TODO tracker More... over 15 years ago
rename the foreign map table to be properly unique, and implement ForeignMany object saving, with tests More... over 15 years ago
add a delete method to drop objects from the db More... over 15 years ago
more tests for update support, and clean up debug output More... over 15 years ago
add support for debug statements in generator to trace output, and fix bug in saving repeatedly More... over 15 years ago
add an OUnit based test infrastructure to run the ORM layer through its paces More... over 15 years ago
move the test definitions out of sql_orm.ml, add a generator function, and add fixes to the get() function More... over 15 years ago
output a top-level Init module to initialize the database with More... over 15 years ago
constrain the type of get to type t More... over 15 years ago
add support for foreign mapping tables as well More... over 15 years ago
perform updates and inserts correctly for foreign mappings More... over 15 years ago