#2616: additional database api
-----------------------------------+----------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian
     Type:  enhancement            |      Status:  new   
 Priority:  normal                 |   Milestone:        
Component:  Database wrapper       |     Version:        
 Severity:  normal                 |    Keywords:        
-----------------------------------+----------------------------------------
 please add an additional key word for querysets when searching with the
 inet datatype..
 
 and example would be
 assume a table constructed as follows.
 
 create table network_interfaces(
 id serial,
 ip inet,
 interface char(20)
 )
 
 --The SQL Syntax ---
 SELECT * from network_interface where ip << '10.210.0.0/16';
 
 --possible Django syntax ---
 Interfaces.objects.filter(ip_within='10.210.0.0/16')
 
 Thanks.  Django is a great project.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2616>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to