Skip to content

abstract class ColumnType

Abstract base class for column types.

Source code in column_type.sdsstub
class ColumnType {
    /**
     * Return whether the given column type is nullable.
     *
     * @result result1 True if the column is nullable.
     */
    @Pure
    @PythonName("is_nullable")
    fun isNullable() -> result1: Boolean

    /**
     * Return whether the given column type is numeric.
     *
     * @result result1 True if the column is numeric.
     */
    @Pure
    @PythonName("is_numeric")
    fun isNumeric() -> result1: Boolean
}

fun isNullable

Return whether the given column type is nullable.

Results:

Name Type Description
result1 Boolean True if the column is nullable.
Source code in column_type.sdsstub
@Pure
@PythonName("is_nullable")
fun isNullable() -> result1: Boolean

fun isNumeric

Return whether the given column type is numeric.

Results:

Name Type Description
result1 Boolean True if the column is numeric.
Source code in column_type.sdsstub
@Pure
@PythonName("is_numeric")
fun isNumeric() -> result1: Boolean