Skip to content

add kind to ct - #3

Merged
tobyhede merged 0 commit into
mainfrom
ciphertext-kind
Nov 20, 2024
Merged

add kind to ct#3
tobyhede merged 0 commit into
mainfrom
ciphertext-kind

Conversation

@tobyhede

Copy link
Copy Markdown
Contributor

No description provided.

@tobyhede
tobyhede merged this pull request into main Nov 20, 2024
@auxesis
auxesis deleted the ciphertext-kind 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.

1 participant