robsonvleite / datalayer

The data layer is a persistent abstraction component of your database that PDO (O data layer é um componente para abstração de persistência no seu banco de dados que usa PDO com prepared statements)
https://www.upinside.com.br
MIT License
144 stars 53 forks source link

IN operator #61

Closed WilliamSampaio closed 1 year ago

WilliamSampaio commented 2 years ago

greetings!

I implemented the in function in the DataLayer class, which simply introduces the IN operator in the 'statement' attribute.

The function takes two parameters. The first parameter corresponds to the name of the column in which the 'IN' will be applied. The second parameter corresponds to the values to be used in the 'IN'.

With this feature I hope to help users who use this tool as I do.

Yours sincerely, William Sampaio