Skip to content

Commit

Permalink
Fixed QB example indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rbw committed Apr 27, 2017
1 parent e054b68 commit 2a163de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/usage/query.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ See the :meth:`pysnow.QueryBuilder` documentation for more details.
end = dt.now() - td(days=20)
# Query incident records with number starting with 'INC0123', created between 1970-01-01 and 20 days back in time
qb = (
pysnow.QueryBuilder()
.field('number').starts_with('INC0123')
.AND()
.field('sys_created_on').between(start, end)
)
qb = (
pysnow.QueryBuilder()
.field('number').starts_with('INC0123')
.AND()
.field('sys_created_on').between(start, end)
)
r = s.query('incident', query=qb)
Expand Down

0 comments on commit 2a163de

Please sign in to comment.