0
I Use This!
Inactive

Commits : Listings

Analyzed about 8 hours ago. based on code collected about 15 hours ago.
Oct 31, 2023 — Oct 31, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
modify the external interface to support table-wide options, initially just one -- a list of unique indices for unique field groups More... over 15 years ago
update .gitignore More... over 15 years ago
add support for floating point datatypes (SQLite: REAL / OCaml: float) More... over 15 years ago
add a realclean target to make it suitable for distribution generation More... over 15 years ago
update TODO list More... over 15 years ago
add a custom_where optional argument to all the get functions, which enables the addition of arbitrary WHERE constraints when querying the database. its a tuple of the string (the WHERE contents) and a list of Sqlite3.Data.t which is any bind variables for the WHERE clause More... over 15 years ago
modify the db init interface to support setting the transaction type used when saving items (Immediate, Deferred, Exclusive) as defined by SQLite, and also for user-defined busy-functions so different threads can backoff in different ways. More... over 15 years ago
add support for schema get functions with no filter criteria (to return all records of some fields without building objects up) More... over 15 years ago
tidy up code by opening Schema to avoid record label hassles More... over 15 years ago
add support for generating specialized get functions which only return a set of fields filtering by a set of fields, without the overhead of fetching all the other objects from the database More... over 15 years ago
partially separate out get functions to generate custom get_foo_by_bar functions More... over 15 years ago
let the print_comment function accept a format string in printer_utils as well More... over 15 years ago
split up the gigantic output function by moving the get() into its own definition More... over 15 years ago
add flags to create (unique or normal) indices on fields in the schema. More... over 15 years ago
reactivate the basic test suite as well More... over 15 years ago
use SQL aliases to support multiple foreign key entries and remove any ambiguities from more complex schemas. More... over 15 years ago
add in a new schema for foreign tests with lots of connections, and separate out test.ml to support multiple schemas in different modules More... over 15 years ago
fix multiple gets properly by using the right SQL syntax, and add test to try out multiple field get as well. also modify tests to use a separate db per test so post-mortem is easier More... over 15 years ago
fix retrieving all records from the database, and add test More... over 15 years ago
fix get for >1 parameters, tests have been added in previous commit More... over 15 years ago
run the default tests first in debug mode, so that errors are easier to spot if tests terminate early More... over 15 years ago
add tests for gets on a bunch of different fields (which fail at the moment due to a bug) More... over 15 years ago
add a README and NEWS files More... over 15 years ago
tidy up of the dependencies so that a simple 'make' will work More... over 15 years ago
remove the generated file on clean as well More... over 15 years ago
separate out the Sql_orm library and the test cases and example generator, and do the Makefile gunk to permit 'install/uninstall' to work with a META file. More... over 15 years ago
helper clean.sh to invoke all the clean targets More... over 15 years ago
re-jig the directory structure a bit for more sensible names, and fix the runtests.sh to run both tests by forcing a rebuild (if the tests run too fast the new mtimes are within 1 second and not picked up for a rebuild) More... over 15 years ago
run both the debug and non-debug versions of the code to ensure both are equivalent More... over 15 years ago
fix typo in the license More... over 15 years ago