sqlx
sqlx
io.github.liewhite.sqlx
AfterLimit
AfterOrderBy
AfterSelect
AfterWhere
Condition
DBConfig
DBContext
DBContext
DBDataSource
DBDataSource
DSLMacros
DriverNotSupportError
Field
Index
JoinItem
JoinType
Migration
Query
Query
TField
TField
given_TField_Array
given_TField_BigDecimal
given_TField_BigInt
given_TField_Boolean
given_TField_Date
given_TField_Double
given_TField_Float
given_TField_Int
given_TField_Long
given_TField_String
given_TField_ZonedDateTime
Table
Table
io.github.liewhite.sqlx.annotation
ColumnName
Index
Length
Precision
Primary
TableName
Unique
io.github.liewhite.sqlx.examples
Detail
Detail
given_TField_Detail
MyApp
User
sqlx
/
io.github.liewhite.sqlx
io.github.liewhite.sqlx
package
io.github.liewhite.sqlx
Type members
Type members
Classlikes
class
AfterLimit
[
T
](
val
AfterOrderBy:
AfterOrderBy
[
_
],
val
limit:
Int
)
class
AfterOrderBy
[
T
](
val
afterWhere:
AfterWhere
[
_
],
val
orderBy:
Field
[
T
])
class
AfterSelect
[
T
<:
Tuple
](
val
afterWhere:
AfterWhere
[
_
],
val
fields:
T
)
class
AfterWhere
[
Q
<:
Query
](
val
query:
Q
,
val
condition:
Condition
)
class
Condition
case
class
DBConfig
(
`type`:
String
,
host:
String
,
username:
String
,
db:
String
,
port:
Option
[
Int
],
password:
Option
[
String
],
maxConnection:
Int
,
minIdle:
Int
,
idleMills:
Int
)
class
DBContext
(
val
ds:
DBDataSource
)
Companion:
object
object
DBContext
Companion:
class
class
DBDataSource
(
val
config:
DBConfig
)
Companion:
object
object
DBDataSource
Companion:
class
object
DSLMacros
class
DriverNotSupportError
(
driver:
String
)
extends
Exception
case
class
Field
[
T
](
index:
Int
,
modelName:
String
,
fieldName:
String
,
primaryKey:
Boolean
,
colName:
String
,
unique:
Boolean
,
default:
Option
[
Any
],
length:
Option
[
Int
],
precision:
Option
[
Precision
],
t:
TField
[
T
])
case
class
Index
(
name:
String
,
cols:
Vector
[
String
],
unique:
Boolean
)
case
class
JoinItem
(
table:
Table
[
_
],
joinType:
JoinType
)
enum
JoinType
object
Migration
class
Query
(
val
tables:
Map
[
String
,
Table
[
_
]],
val
joins:
Vector
[
JoinItem
])
extends
Selectable
Companion:
object
object
Query
Companion:
class
trait
TField
[
T
]
Companion:
object
object
TField
Companion:
class
trait
Table
[
T
<:
Product
]
extends
Selectable
Companion:
object
object
Table
Companion:
class