Posts by Rafael Moura • 165 points
13 posts
-
0
votes1
answer42
viewsA: Multiple SQL column query - Laravel
I thought you had the same situation with the query of the Laravel, but, she answered me, I added several wheres and solved ex: ->Where('table.campo1', $request->campo1)…
-
-1
votes1
answer42
viewsQ: Multiple SQL column query - Laravel
Guys, I’m trying to make a query, where I have several fields to perform this search, and some null field may come. I’m using Laravel with Angular, I don’t know if I can do this consultation on the…
-
1
votes1
answer358
viewsQ: How to customize authentication fields in Laravel 6
I’m trying to do a custom login with Laravel 6, but it’s not working. I have the following code: public function postLogin(Request $request) { request()->validate([ 'email' => 'required',…
-
0
votes1
answer266
viewsQ: Hide and show an icon in angular mat-table 7
Guys, I have a mat-table of the angular material, I’m using angular 7, I have two buttons, one of play and one of pause, start showing the play buttons in this list, I’m trying to implement a logic…
angular-7asked Rafael Moura 165 -
2
votes1
answer1579
viewsQ: Calculation of working days
Guys, I have some methods in PHP that return me the number of days between the initial date and the final date, however, I would like to receive as parameter, only initial date and number of days…
-
0
votes0
answers18
viewsQ: Angular Deploy 7 Git Server
would like to be able to send a deploy in Angular 7 to a Digitalocean server, through the git commands The architecture of my project is organized this way (folders) Meu-projeto .git dist…
angular-6asked Rafael Moura 165 -
0
votes0
answers47
viewsQ: firebase return
Guys, I’d like to help with the firebase return, here’s the thing, in my angular design I have a component with some fields to be validated and a service only for validations, I’m having a hard time…
angularasked Rafael Moura 165 -
0
votes2
answers1393
viewsA: Child component calling another child component’s method
Thanks Renan Degrandi, I ended up using a service, sharing the data with other components is much more efficient, because I would not need to create repeated codes, so sharing ....: Service export…
-
1
votes2
answers1393
viewsQ: Child component calling another child component’s method
I have 3 Components, a Component Father, B Son and a C Son export class A Parent implements OnInit { constructor() { } } In Componen B I have a method to create user export class B Parent implements…
-
0
votes1
answer31
viewsQ: Authentication using for or filter Ionic 3
Hello, I wonder if I can use validation without by setting the "Authentication" of FIREBASE, I have a list of objects, if(placa == 'ABC123' && senha == '123') alert('logado') else if(placa…
-
1
votes1
answer779
viewsQ: Angular 5 problems with routes
Guys I have my normal and simple route app.routing.ts import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { LoginComponent } from…
-
1
votes2
answers580
viewsA: Login with two tables
Solved In my case I decided to make my system creating a table of users only for login question Table users id email password other type tables Distributor table tel address…
loginanswered Rafael Moura 165 -
0
votes2
answers580
viewsQ: Login with two tables
Gale do not know if I did correctly, I have 2 users, admin and distributor, I created 2 tables, do not know if I did the correct, admin has only id name email and password, already the distributor…
loginasked Rafael Moura 165