Create query to be used in mongoengine to query results by date in dictfield inside listfield


This project is about a query to get results by date using mongoengine over mongodb to filter results by month, year and month and age

So, I have a model in Mongoengine

class Contact([login to view URL]):

name = [login to view URL](max_length=255, verbose_name=_(u'Name'))

email = [login to view URL](verbose_name=_(u'E-mail'))

customs = [login to view URL]([login to view URL]())

In field customs I will a list of dictionaries like that:

[login to view URL] = [{'k':'phone','v':'444-444-444'},{'birth_date':[login to view URL](1980,6,1)]

I will have a lot of register with differents birth dates, but one date for each person. So I would like to do:

1 - Create a query that I can get all person that has birth day in a specific month

2 - Create a query that I can get any person that borns in a single year

3 - Create a query that I can get all persons that is under 18 year old

What I will not accepet, query in mongodb and pymongo. I want a query using mongoengine running over python/Django, compatible with python 2.7 and Django 1.4

Let's game begins!

Kemahiran: Django, NoSQL Couch & Mongo, Python

Lihat lagi: create query query search results php, create folder date, protect application used date, joomla create date, create form send results, joomla override item create date, fake espn flash poll create results, create query schedule bid hire date sql, create pop date picker jsp, create forum used fireboard joomla, create form post results, mysql query results date range php, create form sends results database, mysql php display results date, joomla create article based birthday date, create fake google results, tcs results date, create an interactive access form to filter a query

Tentang Majikan:
( 0 ulasan ) Rio de Janeiro, Brazil

ID Projek: #18033515

Dianugerahkan kepada:


Hi. After some research I find that: a) In your example "birth_date" is a [login to view URL] object, but this should be a [login to view URL] object, since MongoDB (BSON) don't have a type for date without time. Trying to Lagi

$30 USD dalam sehari
(0 Ulasan)

4 pekerja bebas membida secara purata $48 untuk pekerjaan ini


Hi, It's a great pleasure to see a job post related Django and MongoDB. Which is really rear Though most of the developer uses only relation database like MySql or PostgreSQL i am one of those wo use both relatio Lagi

$111 USD dalam 3 hari
(12 Ulasan)

Hi, I'd like to help you out with your project because I could say I understand what you're looking for with this script. if you're interested in my bid, send me a message and we could sort terms. best regards!

$25 USD dalam 2 hari
(1 Ulasan)

Hi, I would like to introduce myself as Avinash od - a software developer. I am being into this stream since last 5 years. Recently I got to know about your search for a Python/Djagno project. I truly believe that Lagi

$25 USD dalam sehari
(0 Ulasan)