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
{ “_id” : 0 , “name” : “Clairton Carneiro” , “teachers” : [ 0 , 1] } |
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
{ “_id” : 0 , “name” : “Miranda”} | |
{ “_id” : 1 , “name” : “Amaury Brasil”} |
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
db.students.findOne() |
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
db.students.findOne() |
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
use INFORMATION_SCHEMA; | |
select TABLE_NAME,COLUMN_NAME,CONSTRAINT_NAME, | |
REFERENCED_TABLE_NAME,REFERENCED_COLUMN_NAME from KEY_COLUMN_USAGE where | |
REFERENCED_TABLE_NAME = 'nomeDaTabelaPai'; |
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
$ nslookup www.youtube.com.br |
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
# Fedora | |
yum install icedtea-web | |
# Gentoo | |
emerge -av icedtea-web |
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
--Tabelas de exemplo | |
create table usuarios( | |
id int not null primary key auto_increment, | |
nome varchar(70), | |
fone varchar(10) | |
); | |
create table contatos( | |
id int not null primary key auto_increment, |
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
<h:outputText value="#{user.data}"> | |
<f:convertDateTime pattern="dd/MM/yyyy"/> | |
</h:outputText> |
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
<h:outputText value="#{produto.preco}"> | |
<f:convertNumber pattern="#,###,##0.00" /> | |
</h:outputText> |
OlderNewer