SQL Dev learning MongoDB

3 years ago by DeadNinja to c/sql

Jesus died at 33, so that can't get returned in the query response lol

load all comments
UsefulInfoPlz 61 points 3 years ago

SELECT user FROM db WHERE age BETWEEN 25 AND 35;

Fuck your mongo

path: 0 4828487, hotness: undefined, score: 61, children: 5
anarchrist 22 points 3 years ago

Mongo only pawn in scheme of life.

path: 0 4828487 4828915, hotness: undefined, score: 22, children: 0
Streetdog 10 points 3 years ago
path: 0 4828487 4829267, hotness: undefined, score: 10, children: 1
vale 11 points 3 years ago

I DO NOT SEE ANYTHING WRONG WITH THE PREVIOUS COMMENT, JUST A NORMAL HUMAN TALKING LIKE ME.

path: 0 4828487 4829267 4831911, hotness: undefined, score: 11, children: 0
reverendsteveii 6 points 3 years ago

We just got a ticket in, our users need several new fields in the user table

Relational virgin:

NNNNNOOOOOO I'll need this sprint to modify the user table and write the etl script

NoSQL Chad:

private String newField1;

private boolean newField2;

private Object newField3;

//And now, I close the ticket and go get lunch beers.

path: 0 4828487 4836332, hotness: undefined, score: 6, children: 1
r_se_random 1 point 3 years ago

You do know that a large majority of SQL flavours support JSON columns?

path: 0 4828487 4836332 4857105, hotness: undefined, score: 1, children: 0
sql
sql

@lemmy.world

login for more options
329
14
7

For discussion about SQL and databases. All versions welcome.

  • MSSQL
  • PostgreSQL
  • MariaDB
  • SQLite
  • etc...

go to feed...