spiral-modules / database

Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
MIT License
53 stars 19 forks source link

[Question] - SQL Injection #48

Closed diegospm closed 4 years ago

diegospm commented 4 years ago

Hi,

This Builder prevents SQL Injection? Or do we need to escape before using the builder?

I searched for this topic in the docs, but I didn't find.

Thanks!

wolfy-j commented 4 years ago

Hi,

we totally forgot to copy KT article in DBAL. But you can find one in ORM: https://cycle-orm.dev/docs/query-builder-security

In general:

diegospm commented 4 years ago

Ok, thanks!!