Documentation
Preparing search index...
@rivetkit/db
drizzle/mod
SQLiteView
Class SQLiteView<TName, TExisting, TSelection>
Type Parameters
TName
extends
string
=
string
TExisting
extends
boolean
=
boolean
TSelection
extends
ColumnsSelection
=
ColumnsSelection
Hierarchy
SQLiteViewBase
<
TName
,
TExisting
,
TSelection
>
SQLiteView
Index
Constructors
constructor
Properties
_
$infer
Select
[entity
Kind]
Methods
get
SQL
Constructors
constructor
new
SQLiteView
<
TName
extends
string
=
string
,
TExisting
extends
boolean
=
boolean
,
TSelection
extends
ColumnsSelection
=
ColumnsSelection
,
>
(
__namedParameters
:
{
config
:
{
name
:
TName
;
query
:
SQL
<
unknown
>
|
undefined
;
schema
:
string
|
undefined
;
selectedFields
:
ColumnsSelection
;
}
;
}
,
)
:
SQLiteView
<
TName
,
TExisting
,
TSelection
>
Type Parameters
TName
extends
string
=
string
TExisting
extends
boolean
=
boolean
TSelection
extends
ColumnsSelection
=
ColumnsSelection
Parameters
__namedParameters
:
{
config
:
{
name
:
TName
;
query
:
SQL
<
unknown
>
|
undefined
;
schema
:
string
|
undefined
;
selectedFields
:
ColumnsSelection
;
}
;
}
Returns
SQLiteView
<
TName
,
TExisting
,
TSelection
>
Properties
_
_
:
{
brand
:
"View"
;
existing
:
TExisting
;
name
:
TName
;
selectedFields
:
TSelection
;
viewBrand
:
string
;
}
&
{
viewBrand
:
"SQLiteView"
}
Readonly
$infer
Select
$inferSelect
:
InferSelectViewModel
<
View
<
Assume
<
TName
,
string
>
,
TExisting
,
TSelection
>
,
>
Static
Readonly
[entity
Kind]
"[entityKind]"
:
string
Methods
get
SQL
getSQL
()
:
SQL
<
unknown
>
Returns
SQL
<
unknown
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
$infer
Select
[entity
Kind]
Methods
get
SQL
Documentation
Loading...