Top "Field" questions

In computer science a field is a smaller piece of data from a larger collection.

Using attr_accessor and attr_accessible on the same field

What happens in the background with the following code? class User < ActiveRecord::Base attr_accessor :name attr_accessible :name …

ruby-on-rails field attr-accessible attr-accessor
C# abstract class static field inheritance

I feel like I skipped a C# class or two, but here's my dilemma: I have an abstract class from …

c# inheritance static field abstract
Elasticsearch phrase prefix query on multiple fields

I'm new to ES and I'm trying to build a query that would use phrase_prefix for multiple fields so …

elasticsearch match field
Field's value of native query in JPA

How to get value of some fields in a native query (JPA)? For example I want to get name and …

orm jpa field native
How to get the json field names of a struct in golang?

What is the way to get the json field names of this struct ? type example struct { Id int `json:"id"` …

json go struct field
Doctrine 2 mysql FIELD function in order by

I'm trying to use the MySQL FIELD function in an order by clause in a query. I'm assuming that Doctrine 2 …

mysql field native doctrine-orm
How can I make the HTML5 number field display trailing zeroes?

I have a field: <input type='number' /> I'd like to punch in 0.50 without it “correcting it” to 0.5, so …

html input numbers decimal field
theming "field collection" in node pages drupal 7

Drupal 7 "field collection" - If I want to theme a node page which has a "field collection", how do I …

drupal collections drupal-7 field drupal-theming
Solr search query for dynamic fields indexed

I am implementing the solr search in my project . I have one question regarding how do i search a dynamic …

dynamic solr field solrnet
Why does WPF support binding to properties of an object, but not fields?

I've got a WCF service that passes around status updates via a struct like so: [DataContract] public struct StatusInfo { [DataMember] …

.net wpf binding field