Coverage for src/prisma/generator/filters.py: 100%
2 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-08-27 18:25 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-08-27 18:25 +0000
1def quote(string: str) -> str:
2 """Surround the given string with single quotes. e.g.
4 foo -> 'foo'
6 This does not do any form of escaping, the input is expected to not contain any single quotes.
7 """
8 return "'" + string + "'"