Sha256: a91087463e00d36f25cc3156278bf440b54d927719439aad813e03d0b08c0efe
Contents?: true
Size: 906 Bytes
Versions: 4
Compression:
Stored size: 906 Bytes
Contents
#-- # Copyright (c) 2023 Jeremy Hinegardner # All rights reserved. See LICENSE and/or COPYING for details. #++ module ::Libsql # # a class representing the meta information about an SQLite index # class Index # the name of the index attr_reader :name # the sql statement that created the index attr_reader :sql # the table the index is for attr_accessor :table # the columns that make up this index, in index order attr_accessor :columns # sqlite sequence number of the index attr_accessor :sequence_number # is the index unique attr_writer :unique def initialize( name, sql, table ) @name = name @sql = sql @table = table @columns = [] @sequence_number = nil @unique = nil end def unique? return @unique end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
libsql-0.1.0-x64-mingw-ucrt | lib/libsql/index.rb |
libsql-0.1.0-x64-mingw32 | lib/libsql/index.rb |
libsql-0.1.0-x86-mingw32 | lib/libsql/index.rb |
libsql-0.1.0 | lib/libsql/index.rb |