Giter VIP home page Giter VIP logo

Comments (2)

vrsh avatar vrsh commented on August 25, 2024

As per ServiceNOW documentation and feature provided in not_contains method of pysnow, the correct reference is NOT LIKE
@alex-way If the Docstring of the method was your concern I have modified it.

from pysnow.

rbw avatar rbw commented on August 25, 2024

@alex-way You're right, the ServiceNow documentation is ambiguous about the does not contain operator; It suggests both NOT LIKE (which works and is used by pysnow), and NOTLIKE.

I think NOTLIKE would be more appropriate, as it'd be consistent with rest of the operator values. But ServiceNow decided to use NOT LIKE instead. This minor lack of consistency caused this Issue, and probably the documentation error - both in pysnow and the ServiceNow official docs.
That shows how important consistency is I guess :)

I checked the other library I'm working on, aiosnow, and there I used !* instead (maybe for this reason, can't remember).

https://aiosnow.readthedocs.io/en/latest/reference/fields/string.html#aiosnow.fields.string.StringQueryable.contains

from pysnow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.