All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ldbc.schema.attribute.AutoInc.scala Maven / Gradle / Ivy

There is a newer version: 0.3.0-beta8
Show newest version
/**
 * Copyright (c) 2023-2024 by Takahiko Tominaga
 * This software is licensed under the MIT License (MIT).
 * For more information see LICENSE or https://opensource.org/licenses/MIT
 */

package ldbc.schema.attribute

/**
 * Model for specifying an additional attribute AUTO_INCREMENT for DataType.
 */
private[ldbc] case class AutoInc[T <: Byte | Short | Int | Long | BigInt | Option[Byte | Short | Int | Long | BigInt]]()
  extends Attribute[T]:

  override def queryString: String = "AUTO_INCREMENT"

  override def toString: String = queryString




© 2015 - 2024 Weber Informatics LLC | Privacy Policy