{
"idContrato": 123,
"transacoes": [
{
"cartao": {
"enderecoCobranca": {
"rua": "123 Main St",
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TRIGGER IF EXISTS sakila.bf_insert_actor; | |
DELIMITER $$ | |
CREATE TRIGGER bf_insert_actor | |
BEFORE INSERT ON sakila.actor | |
FOR EACH ROW | |
BEGIN | |
IF NEW.actor_id IS NOT NULL THEN | |
SET NEW.actor_id = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* - significa nome de todas colunas; | |
; - Não esquecer do ponto e vírgula | |
*/ | |
-- Query padrão | |
SELECT (coluna_nome) FROM nome_database.nome_tabela; | |
-- Query do valor de uma operação ou valor fixo | |
SELECT valor AS nome_coluna, valor2 AS nome_coluna_2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
frontend: | |
build: frontend/ | |
restart: always | |
ports: | |
- 3000:3000 | |
depends_on: | |
- backend |