How do I search SQLite text for a pattern with LIKE?
Use SQLite LIKE with % and _ to filter text, then check the matching rows and understand its default case behavior.
Recent chatsGEEZ AT WORK
Questions, practical answers, and useful follow-ups to help you work through the details.
Showing 145–168 of 845 guides
Use SQLite LIKE with % and _ to filter text, then check the matching rows and understand its default case behavior.
See where parameter and return annotations go, how to choose ones that match a function’s behavior, and what they do not enforce.
Capture the original state, register its restoration with addCleanup, and use a checklist to keep temporary test changes from leaking.
Learn how to run cleanup on normal and exceptional exits, while allowing errors to propagate unless suppression is intentional.
Learn when a small function benefits from scoped setup and cleanup, with a before-and-after example and a practical checklist.
Learn when package-relative imports are useful, how they differ from absolute imports, and why launch method matters.
Use __post_init__ for a clear construction-time invariant check, then test both valid construction and the specific error for invalid fields.
Choose `frozen=True` for value-like records whose fields should not be reassigned; use a mutable dataclass when field updates are part of the design.
Learn why direct mutable dataclass defaults can be shared or rejected, and use a factory to create a fresh value when needed.
Learn to spot an import cycle, move genuinely shared code to a lower-level module, and check the resulting dependency direction.
Separate the clock from the time-based calculation, then test the calculation with a fixed time and clear boundary cases.
Trace order-dependent and shared-state failures, then reset test data so each unittest behaves independently.
Run the test for the function you’re investigating, then use unittest discovery to return to the broader suite.
Learn when `assert` is useful for internal assumptions, why it should not validate required inputs, and how to choose an explicit exception instead.
Choose a signaling style by asking whether the outcome is expected, what the caller should do, and whether the result is unambiguous.
Put input-and-expected-result pairs in a list, then use one loop and a named subtest for each case so failures are easier to identify.
Learn to spot distinct jobs inside a function, split only where it improves clarity, and compare a worked before-and-after example.
See a C# validation function that checks its input contract and reports which argument is invalid and why.
Learn how `return` exits a function, spot unreachable statements, and compare a minimal C# example with a corrected version.
Choose a return style that makes the function’s result or action clear, with small C# examples and a reusable decision checklist.
Compare Python parameter styles with a single signature, allowed and rejected calls, and a practical rule for choosing among them.
Use Python’s JSON object-pairs hook to reject repeated keys before they disappear into a dictionary, while keeping valid input as a usable Python value.
Choose CSV columns explicitly, check every JSON object for missing or extra keys, and write compatible records to a separate file with a clear issue report.
Convert a small CSV into a separate JSON file, keep CSV values as text, and check the saved output against the records read from the source.
YOUR QUESTION. YOUR DETAILS.
Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.