RLS DSL - v0.1.0
GitHub
Preparing search index...
ContextValue
Interface ContextValue
Context value that can be used in conditions
interface
ContextValue
{
toSQL
()
:
string
;
type
:
"context"
;
contextType
:
"auth_uid"
|
"session"
|
"current_user"
;
key
?:
string
;
sessionType
?:
SessionVariableType
;
}
Hierarchy (
View Summary
)
Condition
ContextValue
Index
Properties
type
context
Type
key?
session
Type?
Methods
to
SQL
Properties
type
type
:
"context"
context
Type
contextType
:
"auth_uid"
|
"session"
|
"current_user"
Optional
key
key
?:
string
Optional
session
Type
sessionType
?:
SessionVariableType
Methods
to
SQL
toSQL
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
type
context
Type
key
session
Type
Methods
to
SQL
GitHub
RLS DSL - v0.1.0
Loading...
Context value that can be used in conditions