KaraokeSong

final class KaraokeSong : Model, Searchable

A song in the Karaoke Jukebox. The Jukebox has ~25000 songs; rather too many to let users browse without searching. For Heroku deploys there’s an alternate import file that only import ~1000 songs. This is due to Heroku’s free tier limiting us to 10000 database rows.

  • Declaration

    Swift

    static let schema: String
  • id

    The song’s ID, provisioned automatically.

    Declaration

    Swift

    @ID
    var id: UUID?
  • The name of the person or group.

    Declaration

    Swift

    @Field
    var artist: String
  • The title of the song

    Declaration

    Swift

    @Field
    var title: String
  • If TRUE, this is the regular (non-karaoke) version of the song that’s been processed through voice-remover software.

    Declaration

    Swift

    @Field
    var voiceRemoved: Bool
  • If TRUE, this song is a MIDI track.

    Declaration

    Swift

    @Field
    var midi: Bool

Relations

Initialization