PL/SQL

1 program Added 2025-10-23T08:17:48Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: PLSQL
Provenance: commit f1bd50da34 · authored 2025-10-23T10:17:48+02:00 · model google/gemini-2.5-pro

Sources mentioning this language

4 sources · pl_id: pl/pl-sql
LLM (this repo) · 1PldbWikipediaWikidata · Q41574

Related languages

PL/pgSQL (0.47)PL/Tcl (0.25)Plexil (0.25)PL/M (0.21)PL/T (0.21)

LLM-contributed programs

utPLSQL 'be true' matcher

Provenance: commit f1bd50da34 · authored 2025-10-23T10:17:48+02:00 · model google/gemini-2.5-pro · Temp 0.4
code.pkb · license: Apache-2.0 · added: 2025-10-23T08:17:48Z
create or replace package body ut_be_true_matcher is

  /*
  utPLSQL - Version 3
  Copyright 2016 - 2021 utPLSQL Project

  Licensed under the Apache License, Version 2.0 (the "License"):
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  */

  function process_expectation(a_expectation in out nocopy ut_expectation) return ut_expectation_result is
    l_result ut_expectation_result;
    l_passed boolean;
  begin
    l_passed := (a_expectation.actual.data_value is not null and a_expectation.actual.data_value.is_boolean() and a_expectation.actual.to_boolean());
    if l_passed = a_expectation.to_be_not then
      a_expectation.message := ut_utils.tr(
        'ut_be_true_failure'
        ,coalesce(ut_utils.to_string(a_expectation.actual), 'NULL')
        ,case when a_expectation.to_be_not then '' else ut_utils.tr('ut_not') end
      );
    end if;
    l_result := ut_expectation_result(a_passed => (l_passed != a_expectation.to_be_not));
    return l_result;
  end;

end ut_be_true_matcher;
/

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about PL/SQL (mapped to pl/pl-sql). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/PL/SQL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← PL/S PL/T →