mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-01 13:26:25 -06:00
Fixes #6887 Add Examples in the Lookup Expression Docs
This commit is contained in:
parent
8a951e4c9e
commit
8c35d759da
@ -101,7 +101,7 @@ GET /api/dcim/devices/?name__ic=switch
|
|||||||
### Foreign Keys & Other Fields
|
### Foreign Keys & Other Fields
|
||||||
|
|
||||||
Certain other fields, namely foreign key relationships support just the negation
|
Certain other fields, namely foreign key relationships support just the negation
|
||||||
expression: `n`. Here is example of a lookup expression on a foreign key, it would return all the VLANs that don't have a VLAN Group ID of 3203:
|
expression: `n`. Here is an example of a lookup expression on a foreign key, it would return all the VLANs that don't have a VLAN Group ID of 3203:
|
||||||
|
|
||||||
```no-highlight
|
```no-highlight
|
||||||
GET /api/ipam/vlans/?group_id__n=3203
|
GET /api/ipam/vlans/?group_id__n=3203
|
||||||
|
Loading…
Reference in New Issue
Block a user