Class: AxHub::RawDbColumn

Inherits:
Struct
  • Object
show all
Defined in:
lib/axhub_sdk/raw_db.rb

Overview

Typed, read-only DTOs + facade for an app's raw (physical Postgres) DB, mirroring the Go SDK's client.Apps.RawDb() and the Node SDK's sdk.apps.rawDb.

Read-only: table introspection + row reads. Enabling raw DB and writing rows are separate concerns (writes go through the deployed app's DATABASE_URL, not this SDK).

Instance Attribute Summary collapse

Instance Attribute Details

#data_typeObject

Returns the value of attribute data_type

Returns:

  • (Object)

    the current value of data_type



10
11
12
# File 'lib/axhub_sdk/raw_db.rb', line 10

def data_type
  @data_type
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/axhub_sdk/raw_db.rb', line 10

def name
  @name
end

#nullableObject

Returns the value of attribute nullable

Returns:

  • (Object)

    the current value of nullable



10
11
12
# File 'lib/axhub_sdk/raw_db.rb', line 10

def nullable
  @nullable
end