Skip to content

WIP#2

Merged
tobyhede merged 0 commit into
mainfrom
spike
Nov 20, 2024
Merged

WIP#2
tobyhede merged 0 commit into
mainfrom
spike

Conversation

@tobyhede

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread .gitignore Outdated
@tobyhede
tobyhede force-pushed the spike branch 3 times, most recently from 92590ba to d56d3db Compare November 19, 2024 01:52
@tobyhede
tobyhede merged this pull request into main Nov 20, 2024
@auxesis
auxesis deleted the spike branch March 3, 2025 00:52
auxesis added a commit that referenced this pull request Mar 6, 2025
# This is the 1st commit message:

Initial commit (import from sql-mapper)

# This is the commit message #2:

First cut of public API

Call `eql_mapper::type_check(..)`

If successful, that returns a `TypedStatement` which describes:

1. the types & values of any literals that are destined to become EQL
   types and require encrypting
2. all of the expected params and their types
3. the type of the statement's projection (which will inform row
   decryption)

It is up to the caller to check the expected number of params is
correct, and arrange for all literals to be encrypted. Then call:

`TypedStatement::transform(encrypted_literals)`

which will return a new `Statement` with replaced literals.

# This is the commit message #3:

Make TypedStatement::literals a public field

# This is the commit message #4:

Ensure the actual types representing, um.. types are exported

# This is the commit message #5:

Add check to see if statement requires a transformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants