summaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)Author
2013-11-12Potentially misleading typoCarlo Zancanaro
2013-11-12Change the query executor model: now it's query local and the interface is ↵Carlo Zancanaro
managed by a protocol.
2013-11-12Fix a minor error in the README.Carlo Zancanaro
2013-11-12Ah, screw it. Have super long lines in the README.Carlo Zancanaro
2013-11-12Fix up the README which I formatted wrong. Whoops!Carlo Zancanaro
2013-11-12Fix grouping - it used to allow for groupings leaving a non-grouped fieldCarlo Zancanaro
Now it takes a third "projection" argument in which one can perform aggregate function over the existing fields. The fields of the resulting query are the union of the grouping fields and the projected fields (with the projected fields taking precedence). If you try to project a field without applying some sort of function to it then you'll get an exception, but at the moment no function calls are actually validated as aggregate functions (in order to do so we'd need a knowledge of all the aggregate functions, which isn't possible in general).
2013-09-30One more whitespace char (same excuse as last time)Carlo Zancanaro
2013-09-30Remove some whitespace (excuse to test jenkins trigger)Carlo Zancanaro
2013-09-30Fix up union/intersection operationsCarlo Zancanaro
Previously the union/intersection operations didn't work when you tried to select/project/sort/drop/whatever on them. Now they just automatically introduce a subquery, which means that they can be used in other operations automatically. (There is a potential for a minor decrease in query speed, but I think it's worthwhile to maintain the abstraction.)
2013-09-30Change the header level on the changelogCarlo Zancanaro
2013-09-30Remove the generated SQL from the README which was added in the last commit ↵Carlo Zancanaro
- it looked ridiculous
2013-09-30Fix an example in the README, and add some expected generated SQLCarlo Zancanaro
2013-09-29Due to breaking change, go to 0.2.0-SNAPSHOT instead of 0.1.1-SNAPSHOTCarlo Zancanaro
2013-09-29README indentationCarlo Zancanaro
2013-09-29Add a bit of a changelog to the READMECarlo Zancanaro
2013-09-29Add jdbc as a dependency (to make `lein check` useful)Carlo Zancanaro
2013-09-29Remove the `having` function, incorporate into `select`Carlo Zancanaro
The `having` function duplicated the intended functionality of `select`, but in a bad way. It only applied to a restricted case, and its existence meant that `select` provided an escape-hatch with which we could cause some unexpected behaviour. By consolidating the two functions into `select` we remove the escape hatch as well as simplify the model. Selection on grouped queries may now introduce a new subquery, but only in situations where the behaviour is unpredictable (ie. selecting on non-grouped attributes).
2013-07-12One more.Carlo Zancanaro
2013-07-12Bitbucket syntax highlighting in READMECarlo Zancanaro
2013-07-12Two more minor changes to the README.Carlo Zancanaro
2013-07-12Update the README a bunchCarlo Zancanaro
2013-07-03Update the README to include a leiningen dependency vectorCarlo Zancanaro
2013-07-01A bit more readme changingCarlo Zancanaro
2013-07-01Update the readme some moreCarlo Zancanaro
2013-07-01Update the readmeCarlo Zancanaro
2013-06-23Fix the README examples.Carlo Zancanaro
2013-06-22Docstrings, one function call change, README update.Carlo Zancanaro
In the compiler there was one call to `table-name` which should have been `field-name`.
2013-06-21Update the README a bit.Carlo Zancanaro
2013-06-21Add take/drop, move jdbc stuff, document default of postgresCarlo Zancanaro
Add take and drop functionality to the queries, so now you can use the take and drop functions in a similar way to how they work on seqs in clojure. Move jdbc interface stuff into clojure-sql.jdbc, so if you're using jdbc you can include it yourself. (If you're not using jdbc then it shouldn't bother you). Given the default compilation target is actually postgres, document that.
2013-06-20Fix updates, add "use-jdbc!" function to core.Carlo Zancanaro
2013-06-20A few small changes/fixes to join behaviour, and code cleanupCarlo Zancanaro
Fix compilation of cross joins. Remove the sort clauses on queries when they become subqueries in joins because then the sorting means nothing (although when take/drop stuff is added the sort will be relevant, so we'll see about that). Favour the left side of a join, which is mostly only relevant for the outer join case (and technically it's not quite right for full-outer joins, maybe, but I'll get to that later).
2013-05-15Update readme, add stubs, make two vars private.Carlo Zancanaro
2013-05-14Apparently I got the jdbc query syntax wrong. Corrected.Carlo Zancanaro
The parameters should be passed in the `rest` of the vector, not as a separate seq. My bad.
2013-05-14Fix up the README (example code)Carlo Zancanaro
2013-05-14Most of the RA stuff works now.Carlo Zancanaro
Need to fix up the compilation to return a query ready for value substitution by the jdbc stuff, or something (rather than embedding parameters in the query). Also need to add insert!, update! and delete! functions.
2013-04-27Initial commit.Carlo Zancanaro