Questions tagged as 'db'

1
answer

Get the current model you are using Eloquent Laravel

I am making an implementation of a plugin, but I need to obtain the current model that laravel is using when performing some operation ... Is there a function or way to "intercept" the model that Eloquent is working on at that moment?     
asked by 18.12.2017 / 23:52
1
answer

Loop to perform updates on several DBs at the same time?

I'm looking for a way to make the same change to different databases that start and end with the same syntax, just change the base number. I have the following code but it does not work for me, just update the first Base DECLARE @numero_alu...
asked by 13.12.2017 / 13:46
0
answers

Relate 3 tables for java project

I have a question about mysql + java , I'm doing a project that I need to use 3 tables, and use methods to call data in common, but I do not know how to do them in a way in which the 3 are related to make the queries. Since I need a cu...
asked by 08.12.2017 / 21:06
0
answers

Count inserted csv records with PHP

Before explaining my problem I want to emphasize that I already look at the possible answers to my question, and they all deal with something different. What I want to do is that when I import a CSV file into a table, it shows me the number of r...
asked by 30.06.2017 / 17:30