Pekka Enberg
35dff7ca2c
core: Add module-level docs for translate and vdbe
...
Let's add module-level documentation for the code generator in
`translate` and the virtual machine in `vdbe`, which are two major
subsystems in the database engine that developers work on mostly.
2024-07-26 10:23:47 +03:00
Pekka Enberg
9dd505803f
core: Move SortInfo to select.rs
...
It's the only place where it's used.
2024-07-25 17:47:17 +03:00
Pekka Enberg
b25f63f360
core: Move LimitInfo to select.rs
...
That's the only place where it's used.
2024-07-25 17:47:17 +03:00
Pekka Enberg
16e0e740df
core: Rename build_select() to prepare_select()
...
Let's follow SQLite's naming here.
2024-07-25 17:47:17 +03:00
Pekka Enberg
351242561d
Kill anyhow usage
...
Switch anyhow to explicit `LimboError` type using thiserror crate, which
lets us make error handling more structured.
2024-07-25 17:15:08 +03:00
Pekka Enberg
be392d1a4c
core: Move translate_select() to select.rs
2024-07-24 21:20:15 +03:00
Pekka Enberg
be91b9aaca
core: Move build_select() to select.rs
2024-07-24 21:13:08 +03:00
Ethan Niser
07d6ebef24
rename SingleRow -> Scalar
2024-07-24 08:53:47 -07:00
jussisaurio
1117aeef74
ORDER BY: support nullable sorting columns and qualified identifiers
2024-07-24 15:27:55 +03:00
Pekka Enberg
0cb993e152
Merge pull request #204 from jussisaurio/multi-way-join
...
Refactor join processing / support multiway joins
2024-07-24 11:06:32 +03:00
jussisaurio
588ab1af06
Run formatting and enforce formatting in CI
2024-07-23 23:14:36 +03:00
jussisaurio
84cf4033d5
Refactor join processing
...
- Make all constraints a list of WhereTerms in a ProcessedWhereClause
- Support multiple joins instead of just one
2024-07-23 15:04:40 +03:00
Pekka Enberg
8f00888a6c
core: Move ProgramBuilder to vdbe/builder module
2024-07-23 14:30:31 +03:00
Bennett Clement
0bf0b41692
Use case insensitive lookup for table and column
2024-07-22 16:27:36 +08:00
Pekka Enberg
a5dd8fd92c
core: Move select.rs to translate/
2024-07-21 20:36:56 +03:00
Pekka Enberg
8ce67768e3
core: Move where_clause.rs to translate/
2024-07-21 20:36:56 +03:00
Pekka Enberg
fee1530ea6
core: Move expr.rs to translate/
2024-07-21 20:36:56 +03:00
Pekka Enberg
25228f44dc
core: Rename translate.rs as translate/mod.rs
...
In preparation for moving more things under `translate` module.
2024-07-21 20:36:56 +03:00