From cc71acaaeea4c227849c0781a9a8b0e641182adc Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 15 Nov 2007 23:51:55 +0000 Subject: [PATCH] fix documentation --- PLC/Filter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Filter.py b/PLC/Filter.py index 4063496..4e950f1 100644 --- a/PLC/Filter.py +++ b/PLC/Filter.py @@ -59,10 +59,10 @@ class Filter(Parameter, dict): example : filter = { '-SORT' : [ '+node_id', '-hostname' ] } * '-OFFSET' : the number of first rows to be ommitted * '-LIMIT' : the amount of rows to be returned - example : filter = { '-OFFSET' : 100, '-PAGE':25} + example : filter = { '-OFFSET' : 100, 'LIMIT':25} A realistic example would read - GetNodes ( { 'hostname' : '*.edu' , '-SORT' : 'hostname' , '-OFFSET' : 30 , '-PAGE' : 25 } ) + GetNodes ( { 'hostname' : '*.edu' , '-SORT' : 'hostname' , '-OFFSET' : 30 , '-LIMIT' : 25 } ) and that would return nodes matching '*.edu' in alphabetical order from 31th to 55th """ -- 2.43.0