Hello Good day,
Is this possible to use update database with custom where clause like codeignitor ..
update with where clause !
4 years ago
4 years ago
#1
4 years ago
#2
Hi. Could you please give an example, using Codeigniter syntax?
4 years ago
#3
Hi, as DC said above, an example of a custom CI where query would be good, also what version of CI are you using?
I suggest you go to the Trongate docs here:
> https://trongate.io/docs_m/information/the-get-where-custom-method
it is very well explained with very clear examples:
For CI4, working with the query builder isn't as `elegant` as the docs try to express:
> https://codeigniter.com/user_guide/models/model.html#working-with-query-builder
I suggest you go to the Trongate docs here:
> https://trongate.io/docs_m/information/the-get-where-custom-method
it is very well explained with very clear examples:
For CI4, working with the query builder isn't as `elegant` as the docs try to express:
> https://codeigniter.com/user_guide/models/model.html#working-with-query-builder
4 years ago
#4
Hello Good day,
Like this
Like this
4 years ago
#5
That's better now I can see what you are doing.
All the information you need are in the docs, I suggest you read 'Database Interaction':
> https://trongate.io/docs_m/contents
In your example, this is what the code would look like using Trongate:
Hope that helped
All the information you need are in the docs, I suggest you read 'Database Interaction':
> https://trongate.io/docs_m/contents
In your example, this is what the code would look like using Trongate:
Hope that helped