Top "Nested" questions

This tag relates to any of various nested entities or operations in programming.

How to query nested objects?

I have a problem when querying mongoDB with nested objects notation: db.messages.find( { headers : { From: "[email protected]" } } ).count() 0 …

mongodb syntax nested mongodb-query bson
Why would one use nested classes in C++?

Can someone please point me towards some nice resources for understanding and using nested classes? I have some material like …

c++ nested inner-classes
Margin on child element moves parent element

I have a div (parent) that contains another div (child). Parent is the first element in body with no particular …

css xhtml margin nested
How to use a dot "." to access members of dictionary?

How do I make Python dictionary members accessible via a dot "."? For example, instead of writing mydict['val'], I'd like …

python dictionary syntax nested
Can you write nested functions in JavaScript?

I am wondering if JavaScript supports writing a function within another function, or nested functions (I read it in a …

javascript function nested
List comprehension on a nested list?

I have this nested list: l = [['40', '20', '10', '30'], ['20', '20', '20', …

python list nested list-comprehension
Objects inside objects in javascript

I'm somewhat new to Javascript, so maybe this is just a noob mistake, but I haven't found anything that specifically …

javascript object nested javascript-objects
Nested classes' scope?

I'm trying to understand scope in nested classes in Python. Here is my example code: class OuterClass: outer_var = 1 class …

python class scope nested inner-classes
MySQL Nested Select Query?

Ok, so I have the following query: SELECT MIN(`date`), `player_name` FROM `player_playtime` GROUP BY `player_name` I …

mysql sql select group-by nested
Can regular expressions be used to match nested patterns?

Is it possible to write a regular expression that matches a nested pattern that occurs an unknown number of times? …

regex nested finite-automata