Comments (4)
IIRC the encryptedField
can't be used in a complex query (including where clauses). The predicate is pushed down to the database. The field is encrypted in the database and will not be decrypted when evaluating the where clause.
You may want to use full database encryption.
from typeorm-encrypted.
https://github.com/generalpiston/typeorm-encrypted#why-wont-complex-queries-work
from typeorm-encrypted.
Thanks @takezoux2
from typeorm-encrypted.
Released in 0.6.0
.
from typeorm-encrypted.
Related Issues (20)
- Invalid IV length HOT 4
- [Question, help needed] How to properly retain encryption keys? HOT 3
- Create a CLI tool for adding or swapping keys to an encrypted column HOT 1
- Abandoned? HOT 1
- Doesnt work inside QueryBuilder HOT 4
- It doesn't encrypt the default value of the column HOT 2
- Issue with finding values with encrypted data HOT 17
- fix issue HOT 1
- json supprot HOT 1
- Support for typeorm 0.3 HOT 8
- Return undefined instead of null
- Peer dependencies TypeORM HOT 1
- [Question] How is key rotation handled? HOT 5
- Document how to perform key rotation
- The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined HOT 1
- Like operator not supported
- typeorm encryption nopt working in case of unique true column HOT 3
- conditionally encryption columns HOT 3
- Decrypting data externally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typeorm-encrypted.