Top "Field" questions

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

Java: How can I access a class's field by a name stored in a variable?

How can I set or get a field in a class whose name is dynamic and stored in a string …

java class field
SQLAlchemy: How to order query results (order_by) on a relationship's field?

Models from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, ForeignKey from sqlalchemy import Integer from sqlalchemy import …

python sqlalchemy sql-order-by field relationship
Auto-implemented getters and setters vs. public fields

I see a lot of example code for C# classes that does this: public class Point { public int x { get; …

c# oop properties field
How to disable a field or make it readonly in Drupal 7

I am trying to disable couple of fields and make them readonly via hook_page_alter(). I was able to …

drupal-7 field form-api
How do I assign by "reference" to a class field in c#?

I am trying to understand how to assign by "reference" to a class field in c#. I have the following …

c# reference parameters field
Django: Admin: changing the widget of the field in Admin

I have a model with a boolean value like that: class TagCat(models.Model): by_admin = models.BooleanField(default=True) …

django django-admin boolean field django-widget
Flutter dropdown text field

I am still new to Flutter. Is there an example of a material dropdown list text field? I saw the …

text field dropdown flutter
HTML text field over canvas element

I have been playing around with text in the canvas, and although it is easy to draw, it is not …

html text canvas field
How can I store a lambda expression as a field of a class in C++11?

I'd like to create a class where the client can store a lambda expression like []() -> void {} as a …

c++ class lambda c++11 field
How can I define a list field in django rest framework?

Let's say I have a class class Tags(object): tags = [] def __init__(self, tags): self.tags = tags and a custom …

django json list field django-rest-framework