sql

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package sql provides embedded SQL files for Melange infrastructure.

Index

Constants

This section is empty.

Variables

View Source
var FunctionsSQL string

FunctionsSQL contains the PostgreSQL functions for permission checking:

  • check_permission: evaluates if subject has relation on object
  • list_accessible_objects: returns all objects subject has relation on
  • has_tuple: checks for direct tuple existence

Applied via CREATE OR REPLACE FUNCTION for idempotence.

View Source
var ModelSQL string

ModelSQL contains the melange_model table definition and indexes. Applied via CREATE TABLE IF NOT EXISTS for idempotence.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL